]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Merge branch 'master' of gitlab.com:osslugaru/lugaru
[lugaru.git] / Source / GameTick.cpp
index e5c89d97349e517e749ae8ad1f76e4a08f0c6fc7..19d043df2a54fadbf640bfba47d68b22dd13994b 100644 (file)
@@ -5749,18 +5749,7 @@ void Game::Tick()
                     yaw = Dialog::currentScene().camerayaw;
                     pitch = Dialog::currentScene().camerapitch;
                     if (Dialog::dialoguetime > 0.5) {
-                        if (     Input::isKeyPressed(SDL_SCANCODE_1) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_2) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_3) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_4) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_5) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_6) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_7) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_8) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_9) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_0) ||
-                                 Input::isKeyPressed(SDL_SCANCODE_MINUS) ||
-                                 Input::isKeyPressed(attackkey)) {
+                        if (Input::isKeyPressed(attackkey)) {
                             Dialog::indialogue++;
                             if (Dialog::indialogue < Dialog::currentDialog().scenes.size()) {
                                 if (Dialog::currentScene().sound != 0) {