Skip to content

Commit

Permalink
clang build fix. closes #36
Browse files Browse the repository at this point in the history
Remove unnecessary `inline`

Also mentioned in #18 (comment)
  • Loading branch information
clobber committed Nov 1, 2020
1 parent abb6412 commit f0d0ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rt_playr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,7 @@ boolean GiveBulletWeapon(objtype *ob,int bulletweapon,statobj_t*check)

}

inline boolean DetermineAmmoPickup(playertype *pstate, statobj_t *check)
boolean DetermineAmmoPickup(playertype *pstate, statobj_t *check)
{
if ((GetWeaponForItem(check->itemnumber) == pstate->missileweapon) &&
(pstate->ammo < stats[check->itemnumber].ammo))
Expand Down

0 comments on commit f0d0ea3

Please sign in to comment.