Browse Source

Adds pause button to display game menu.

Ken Whatmough 13 năm trước cách đây
mục cha
commit
4c3c96a6cf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gameplay/src/PlatformiOS.mm

+ 1 - 1
gameplay/src/PlatformiOS.mm

@@ -453,7 +453,7 @@ int getKey(unichar keyCode);
         GL_ASSERT( glViewport(0, 0, framebufferWidth, framebufferHeight) );
         
         // Execute a single game frame
-        if (game && game->getState() == Game::RUNNING)
+        if (game)
             game->frame();
         
         // Present the contents of the color buffer