This commit is contained in:
Paul 2001-02-15 19:54:13 +00:00
parent c06ddfff74
commit 0f2d065c2f

View File

@ -96,7 +96,7 @@ void CPlayerStateJump::think(CPlayer *_player)
controlHeld=getPadInputHeld(_player); controlHeld=getPadInputHeld(_player);
controlDown=getPadInputDown(_player); controlDown=getPadInputDown(_player);
if(m_jumpFrames<=metrics->m_metric[PM__MAX_JUMP_FRAMES]&&PI_JUMP) if(m_jumpFrames<=metrics->m_metric[PM__MAX_JUMP_FRAMES]&&controlHeld&PI_JUMP)
{ {
m_jumpFrames++; m_jumpFrames++;
} }