git-svn-id: https://svn.eduke32.com/eduke32@906 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-07-26 02:15:13 +00:00
parent 8446a1f2d9
commit c568a08022

View file

@ -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)
{