X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=4f238e2bf243720e08a4706d1c9fc48f99e890ac;hb=211943fca2a77110d07c4eab259ed0208462766e;hp=c688a5f28a019055ec75cebf56e4899d6f36d1dc;hpb=e7b76642d8998c250272a8313ad8aa7c7efff319;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index c688a5f..4f238e2 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -5749,18 +5749,7 @@ void Game::Tick() yaw = Dialog::currentBox().camerayaw; pitch = Dialog::currentBox().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().boxes.size()) { if (Dialog::currentBox().sound != 0) {