This commit is contained in:
parent
4173bd813f
commit
beed8d6b10
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ void CPlayerStateSpring::think(CPlayerModeBase *_playerMode)
|
||||||
_playerMode->setState(STATE_FALL);
|
_playerMode->setState(STATE_FALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(controlDown&PI_JUMP)
|
||||||
|
{
|
||||||
|
_playerMode->setState(STATE_BUTTBOUNCE);
|
||||||
|
}
|
||||||
|
|
||||||
if(controlHeld&PI_LEFT)
|
if(controlHeld&PI_LEFT)
|
||||||
{
|
{
|
||||||
_playerMode->moveLeft();
|
_playerMode->moveLeft();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue