- SW: Only bring the weapon back up after doing chops if not on a vehicle with a weapon.

This commit is contained in:
Mitchell Richters 2022-12-29 19:25:17 +11:00
parent 318bba469f
commit 40c0c66d8f

View file

@ -6919,7 +6919,8 @@ void ChopsCheck(PLAYER* pp)
{
ChopTics = 0;
// bring weapon back up
pp->Flags &= ~(PF_WEAPON_DOWN);
if (!pp->sop || !(pp->sop->flags & SOBJ_HAS_WEAPON))
pp->Flags &= ~(PF_WEAPON_DOWN);
ChopsSetRetract(pp);
}
}