1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

* fixed bug #20

* minor changes
This commit is contained in:
mateuszb
2010-01-29 16:19:12 +00:00
parent b0a587ff08
commit 23a32ebf7a
8 changed files with 28 additions and 9 deletions

View File

@ -501,7 +501,7 @@ static void listenForEvents()
delete ev;
continue;
}
else if (ev->type == SDL_USEREVENT && ev->user.code == 2)
else if (ev->type == SDL_USEREVENT && ev->user.code == 2) //something want to quit to main menu
{
client->stop();
delete ev;