mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
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:
parent
e9ac1401c3
commit
7167706837
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue