mirror of
https://github.com/ENSL/NS.git
synced 2024-11-30 00:10:57 +00:00
Merge pull request #24 from ENSL/pierow-fixes
turned off queued/autojump for jetpack
This commit is contained in:
commit
53655cc068
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue