This commit is contained in:
parent
c06ddfff74
commit
0f2d065c2f
@ -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++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user