- 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 c240c8e6ee
commit b0b2f1bf1b

View file

@ -6805,7 +6805,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);
}
}