summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornarbatucker <narbatucker@hackintosh.local>2017-06-25 17:24:44 +0100
committernarbatucker <narbatucker@hackintosh.local>2017-06-25 17:24:44 +0100
commit217b57ac5e48c1ae10f0045f84d3caaa6dc63856 (patch)
tree3dade72844ed7eef735a045f13a3ee3a58a7ae10
parent589a7afc3e88c59a9b51b1a3af3339af3ad61e8c (diff)
further (ACCADEMICALLY_ACCLAIMED) macOS build fixes
-rw-r--r--src/game/bg_misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index 0bfc188..4b0d56f 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -635,7 +635,7 @@ buildableAttributes_t bg_buildableList[ ] =
}
};
-static inline buildableAttributes_t *FindBuildable( int index )
+static buildableAttributes_t *FindBuildable( int index )
{
if( index < BA_NONE || index >= BA_NUM_BUILDABLES )
Com_Error( ERR_FATAL, "Invalid index in FindBuildable: %i\n", index);
@@ -1527,7 +1527,7 @@ classAttributes_t bg_classList[ ] =
},
};
-static inline classAttributes_t *FindClass( int index )
+static classAttributes_t *FindClass( int index )
{
if( index < PCL_NONE || index >= PCL_NUM_CLASSES )
Com_Error( ERR_FATAL, "Invalid index in FindClass: %i\n", index);
@@ -2596,7 +2596,7 @@ weaponAttributes_t bg_weapons[ ] =
}
};
-static inline weaponAttributes_t *FindWeapon( int index )
+static weaponAttributes_t *FindWeapon( int index )
{
if( index < WP_NONE || index >= WP_NUM_WEAPONS )
Com_Error( ERR_FATAL, "Invalid index in FindWeapon: %i\n", index);
@@ -2944,7 +2944,7 @@ upgradeAttributes_t bg_upgrades[ ] =
}
};
-static inline upgradeAttributes_t *FindUpgrade( int index )
+static upgradeAttributes_t *FindUpgrade( int index )
{
if( index < UP_NONE || index >= UP_NUM_UPGRADES )
Com_Error( ERR_FATAL, "Invalid index in FindUpgrade: %i\n", index);