turned off queued/autojump for jetpack

This commit is contained in:
pierow 2018-08-16 20:20:52 -04:00
parent baa888dd34
commit 85a632ec26

View file

@ -5464,8 +5464,9 @@ void PM_Jump (void)
autojump = atoi(pmove->PM_Info_ValueForKey(pmove->physinfo, "jm2"));
queuedjump = atoi(pmove->PM_Info_ValueForKey(pmove->physinfo, "jm1"));
bool theHasJetpackUpgrade = GetHasUpgrade(pmove->iuser4, MASK_UPGRADE_7) && (pmove->iuser3 == AVH_USER3_MARINE_PLAYER);
if ((!autojump && !queuedjump) || pmove->iuser3 == AVH_USER3_ALIEN_PLAYER3)
if ((!autojump && !queuedjump) || pmove->iuser3 == AVH_USER3_ALIEN_PLAYER3 || theHasJetpackUpgrade)
{
if (pmove->oldbuttons & IN_JUMP)
return; // don't pogo stick