This commit is contained in:
parent
0a1b900d78
commit
ef1bb2b4da
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue