mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Aj, zapomniałem wyłączyć tymczasowe przesuwanie przycisków.
Teraz powinno być dobrze, ale próbuj zaczynać nowej gry (jeszcze) ;)
This commit is contained in:
parent
dfcfda764a
commit
6a2fd8d886
14
CPreGame.cpp
14
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user