diff options
author | Aki <please@ignore.pl> | 2022-02-16 21:42:55 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-02-16 21:42:55 +0100 |
commit | 084d3b4e049bf1014088772bc79559fd3b06fd11 (patch) | |
tree | 30f5cd3868804505d1653ade1829e0e0b7e48eee /Stars45/Game.cpp | |
parent | 13f2e2c1152c3a5e2ba75f5df86c5926a2e845df (diff) | |
download | starshatter-084d3b4e049bf1014088772bc79559fd3b06fd11.zip starshatter-084d3b4e049bf1014088772bc79559fd3b06fd11.tar.gz starshatter-084d3b4e049bf1014088772bc79559fd3b06fd11.tar.bz2 |
Removed game loop outside of game class
Diffstat (limited to 'Stars45/Game.cpp')
-rw-r--r-- | Stars45/Game.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Stars45/Game.cpp b/Stars45/Game.cpp index e7fcf7f..ad364d7 100644 --- a/Stars45/Game.cpp +++ b/Stars45/Game.cpp @@ -836,7 +836,7 @@ Game::Run() DispatchMessage(&msg); } else { - if (ProfileGameLoop()) + if (GameLoop()) WaitMessage(); } } @@ -897,11 +897,6 @@ Game::Pause(bool f) // +--------------------------------------------------------------------+ -bool ProfileGameLoop(void) -{ - return game->GameLoop(); -} - bool Game::GameLoop() { |