From 6a2fd8d8866b52b3003a92d48535ff793cb4b255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Thu, 14 Jun 2007 13:15:45 +0000 Subject: [PATCH] =?UTF-8?q?Aj,=20zapomnia=C5=82em=20wy=C5=82=C4=85czy?= =?UTF-8?q?=C4=87=20tymczasowe=20przesuwanie=20przycisk=C3=B3w.=20Teraz=20?= =?UTF-8?q?powinno=20by=C4=87=20dobrze,=20ale=20pr=C3=B3buj=20zaczyna?= =?UTF-8?q?=C4=87=20nowej=20gry=20(jeszcze)=20;)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPreGame.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CPreGame.cpp b/CPreGame.cpp index 95a1eec4e..d8a7e600a 100644 --- a/CPreGame.cpp +++ b/CPreGame.cpp @@ -246,15 +246,15 @@ void CPreGame::runLoop() return ; else if (sEvent.type==SDL_KEYDOWN) { - if (state==EState::newGame) + if (sEvent.key.keysym.sym==SDLK_q) + { + return ; + break; + } + /*if (state==EState::newGame) { switch (sEvent.key.keysym.sym) { - case (SDLK_q): - { - return ; - break; - } case SDLK_LEFT: { if(currentItems()->lNewGame.x>0) @@ -279,7 +279,7 @@ void CPreGame::runLoop() } } showNewMenu(); - } + }*/ } else if (sEvent.type==SDL_MOUSEMOTION) {