mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-21 16:35:08 -05:00
Allow starfing keys at level end
This commit is contained in:
parent
6a2477f63c
commit
5509546e5b
6
game.h
6
game.h
@ -4025,7 +4025,9 @@ void SFG_gameStep()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (SFG_keyIsDown(SFG_KEY_RIGHT) ||
|
else if (SFG_keyIsDown(SFG_KEY_RIGHT) ||
|
||||||
SFG_keyIsDown(SFG_KEY_LEFT))
|
SFG_keyIsDown(SFG_KEY_LEFT) ||
|
||||||
|
SFG_keyIsDown(SFG_KEY_STRAFE_LEFT) ||
|
||||||
|
SFG_keyIsDown(SFG_KEY_STRAFE_RIGHT))
|
||||||
{
|
{
|
||||||
SFG_setAndInitLevel(SFG_currentLevel.levelNumber + 1);
|
SFG_setAndInitLevel(SFG_currentLevel.levelNumber + 1);
|
||||||
|
|
||||||
@ -4036,7 +4038,7 @@ void SFG_gameStep()
|
|||||||
|
|
||||||
SFG_playerRotateWeapon(1);
|
SFG_playerRotateWeapon(1);
|
||||||
|
|
||||||
if (SFG_keyIsDown(SFG_KEY_RIGHT))
|
if (SFG_keyIsDown(SFG_KEY_RIGHT) || SFG_keyIsDown(SFG_KEY_STRAFE_RIGHT))
|
||||||
{
|
{
|
||||||
// save the current position
|
// save the current position
|
||||||
SFG_game.save[0] =
|
SFG_game.save[0] =
|
||||||
|
Loading…
Reference in New Issue
Block a user