This commit is contained in:
parent
0a1b900d78
commit
ef1bb2b4da
@ -85,7 +85,7 @@ void CPlayerStateBaseIdle::thinkControl(CPlayerModeBase *_playerMode)
|
|||||||
if(_playerMode->canMoveRight())
|
if(_playerMode->canMoveRight())
|
||||||
_playerMode->setState(STATE_RUN);
|
_playerMode->setState(STATE_RUN);
|
||||||
}
|
}
|
||||||
else if(controlHeld&PI_DOWN)
|
else if(controlHeld&PI_DOWN&&_playerMode->canDoLookAround())
|
||||||
{
|
{
|
||||||
_playerMode->setState(STATE_CROUCHDOWN);
|
_playerMode->setState(STATE_CROUCHDOWN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user