1. ZRS Razvoj igara
  2. Untitled project
  3. Pucaljka

Commits

Nikola Cvetko  committed 5a4d389

Returning to MainMenu from GM_Level on ESC press.

  • Participants
  • Parent commits 2adbc46
  • Branches default

Comments (0)

Files changed (1)

File gm_level.cpp

View file
     switch(event.key.keysym.sym)
     {
         case SDLK_ESCAPE:
-        gRunning = false;
+        gGame->switchGameMode(new GM_MainMenu());
         break;
 
         case SDLK_LEFT: