ref: f0d0ea32b14d04a37d87695812b7b1b17338f733
parent: abb641229351d84fdea729a622b359c3eb43d5ce
author: clobber <brymaster@gmail.com>
date: Sun Nov 1 06:05:29 EST 2020
clang build fix. closes #36 Remove unnecessary `inline` Also mentioned in https://github.com/LTCHIPS/rottexpr/pull/18#issuecomment-615784973
--- a/src/rt_playr.c
+++ b/src/rt_playr.c
@@ -2750,7 +2750,7 @@
}
-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))