- RR: fixed weapon switching code.

This commit is contained in:
Christoph Oelckers 2022-11-13 19:47:10 +01:00
parent f23ddc28f0
commit 36f753df8f

View file

@ -3945,6 +3945,7 @@ HORIZONLY:
//Shooting code/changes
if (p->show_empty_weapon > 0)
{
p->show_empty_weapon--;
if (p->show_empty_weapon == 0 && (WeaponSwitch(p - ps) & 2))
@ -3952,6 +3953,7 @@ HORIZONLY:
fi.addweapon(p, p->last_full_weapon, true);
return;
}
}
dokneeattack(snum, { FEM10, NAKED1, STATUE });