From c568a08022284a6d9a6a978f4a18aef52b29286d Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 26 Jul 2008 02:15:13 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@906 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index ac67971df..fd3823302 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -4667,7 +4667,7 @@ SHOOTINCODE: if (hittype[p->i].temp_data[7]) { hittype[p->i].temp_data[7]--; - if (p->last_weapon == -1 && hittype[p->i].temp_data[7] != 0 && hittype[p->i].temp_data[7] % 2 == 0) + if (p->last_weapon == -1 && hittype[p->i].temp_data[7] != 0 && ((hittype[p->i].temp_data[7] & 1) == 0)) { if (aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_AMMOPERSHOT) {