mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-24 01:42:19 -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) ||
|
||||
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);
|
||||
|
||||
@ -4036,7 +4038,7 @@ void SFG_gameStep()
|
||||
|
||||
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
|
||||
SFG_game.save[0] =
|
||||
|
Loading…
Reference in New Issue
Block a user