From 217b57ac5e48c1ae10f0045f84d3caaa6dc63856 Mon Sep 17 00:00:00 2001 From: narbatucker Date: Sun, 25 Jun 2017 17:24:44 +0100 Subject: further (ACCADEMICALLY_ACCLAIMED) macOS build fixes --- src/game/bg_misc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); -- cgit