aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-08-11 15:38:28 +0200
committeruruk2014-08-11 15:38:28 +0200
commitc3a5a9177b162beb70f28aa1f9408559f9482cbb (patch)
tree328058e799e318cb35ad23865b8dc11ae4d3e16d
parent85101525454bf613aa35d72a356c506d2f7600c4 (diff)
downloadscummvm-rg350-c3a5a9177b162beb70f28aa1f9408559f9482cbb.tar.gz
scummvm-rg350-c3a5a9177b162beb70f28aa1f9408559f9482cbb.tar.bz2
scummvm-rg350-c3a5a9177b162beb70f28aa1f9408559f9482cbb.zip
CGE2: Fix comment in runGame().
-rw-r--r--engines/cge2/cge2_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index 02efdfe982..c8c3a1e77a 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -632,7 +632,8 @@ void CGE2Engine::runGame() {
while (!_endGame && !_quitFlag)
mainLoop();
- // If finishing game due to closing ScummVM window, explicitly save the game
+ // If leaving the game (close window, return to launcher, etc.
+ // - except finishing the game), explicitly save it's state:
if (!_endGame && canSaveGameStateCurrently())
qGame();