From 8848ffcbd9bab39362847203eb9d77d3a68ee3f1 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 7 Jan 2016 03:29:52 +0000 Subject: [PATCH] Fix warnings. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5509 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/player.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index 0d36ce92a..8a6b5b0d8 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -745,7 +745,6 @@ static int32_t P_PostFireHitscan(int32_t p, int32_t k, hitdata_t *hit, int32_t i if (flags&2) sprite[l].cstat = 16+(krand()&(8+4)); - A_SetSprite(l, CLIPMASK0); // BULLETHOLE already adds itself to the deletion queue in @@ -3802,12 +3801,11 @@ enum WS_NOTHING, WS_FIRE, WS_FIRE_AND_SPAWN, -} weaponstate_t; +}; int32_t P_WeaponState(int32_t snum, int32_t reset) { 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; if ((kb) < PWEAPON(snum, weapon, TotalTime))