Lunatic: Fix build, part 3. P_SetWeaponGamevars should be static inline when placed in a header included from multiple objects.

git-svn-id: https://svn.eduke32.com/eduke32@5986 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-01-05 05:29:14 +00:00
parent e9ac1401c3
commit 7167706837

View file

@ -360,7 +360,7 @@ int Proj_GetDamage(projectile_t const *pProj);
#if !defined LUNATIC #if !defined LUNATIC
void P_SetWeaponGamevars(int playerNum, const DukePlayer_t *pPlayer); void P_SetWeaponGamevars(int playerNum, const DukePlayer_t *pPlayer);
#else #else
void P_SetWeaponGamevars(int playerNum, const DukePlayer_t *pPlayer) static inline void P_SetWeaponGamevars(int playerNum, const DukePlayer_t *pPlayer)
{ {
UNREFERENCED_PARAMETER(playerNum); UNREFERENCED_PARAMETER(playerNum);
UNREFERENCED_PARAMETER(pPlayer); UNREFERENCED_PARAMETER(pPlayer);