Fix warnings. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5509 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-01-07 03:29:52 +00:00
parent e122da5de9
commit 8848ffcbd9

View file

@ -745,7 +745,6 @@ static int32_t P_PostFireHitscan(int32_t p, int32_t k, hitdata_t *hit, int32_t i
if (flags&2) if (flags&2)
sprite[l].cstat = 16+(krand()&(8+4)); sprite[l].cstat = 16+(krand()&(8+4));
A_SetSprite(l, CLIPMASK0); A_SetSprite(l, CLIPMASK0);
// BULLETHOLE already adds itself to the deletion queue in // BULLETHOLE already adds itself to the deletion queue in
@ -3802,12 +3801,11 @@ enum
WS_NOTHING, WS_NOTHING,
WS_FIRE, WS_FIRE,
WS_FIRE_AND_SPAWN, WS_FIRE_AND_SPAWN,
} weaponstate_t; };
int32_t P_WeaponState(int32_t snum, int32_t reset) int32_t P_WeaponState(int32_t snum, int32_t reset)
{ {
int32_t kb = g_player[snum].ps->kickback_pic; int32_t kb = g_player[snum].ps->kickback_pic;
int32_t sb_snum = g_player[snum].sync->bits;
int32_t weapon = g_player[snum].ps->curr_weapon; int32_t weapon = g_player[snum].ps->curr_weapon;
if ((kb) < PWEAPON(snum, weapon, TotalTime)) if ((kb) < PWEAPON(snum, weapon, TotalTime))