aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-06-18 20:58:15 +0200
committerStrangerke2012-06-18 20:59:52 +0200
commitad2b898eb39af8d7edb76788abc3366783d4c99a (patch)
tree0eee4241ab1d4dbb36f01e773602e1f3aa009a06
parent2e16e7fc4c6983db99ae99be9a420ba4549be35e (diff)
downloadscummvm-rg350-ad2b898eb39af8d7edb76788abc3366783d4c99a.tar.gz
scummvm-rg350-ad2b898eb39af8d7edb76788abc3366783d4c99a.tar.bz2
scummvm-rg350-ad2b898eb39af8d7edb76788abc3366783d4c99a.zip
CGE: Remove dead code originally used to load a savegame when starting the game
-rw-r--r--engines/cge/cge_main.cpp19
1 files changed, 3 insertions, 16 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index 05a94df606..2620147c4d 100644
--- a/engines/cge/cge_main.cpp
+++ b/engines/cge/cge_main.cpp
@@ -1507,22 +1507,9 @@ bool CGEEngine::showTitle(const char *name) {
_vga->_showQ->clear();
_vga->copyPage(0, 2);
- if (_mode == 0) {
-// The auto-load of savegame #0 is currently disabled
-#if 0
- if (savegameExists(0)) {
- // Load the savegame
- loadGame(0, NULL, true); // only system vars
- _vga->setColors(_vga->_sysPal, 64);
- _vga->update();
- if (_flag[3]) { //flag FINIS
- _mode++;
- _flag[3] = false;
- }
- } else
-#endif
- _mode++;
- }
+ // The original was automatically loading the savegame when available
+ if (_mode == 0)
+ _mode++;
}
if (_mode < 2)