This commit is contained in:
Paul 2001-05-23 21:52:38 +00:00
parent 0a1b900d78
commit ef1bb2b4da

View File

@ -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);
} }