diff options
Diffstat (limited to 'src/GameLoop.cpp')
-rw-r--r-- | src/GameLoop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GameLoop.cpp b/src/GameLoop.cpp index 3dc2bf5..3e31baa 100644 --- a/src/GameLoop.cpp +++ b/src/GameLoop.cpp @@ -142,13 +142,13 @@ void handleKey(Game* game, int key, int action, int mods) player.playercoords = player.oldplayercoords; player.velocity = {}; } + } else if (key == keymap.switch_view) { + thirdperson = (thirdperson == 2) ? 0 : (thirdperson + 1); } if (!game->debug) return; - if (key == keymap.switch_view) { - thirdperson = (thirdperson == 2) ? 0 : (thirdperson + 1); - } else if (key == keymap.skip) { + if (key == keymap.skip) { game->timeremaining = 0; } else if (key == keymap.pause) { alSourcePlay(gSourceID[soulinsound]); |