[Scummvm-cvs-logs] scummvm master -> ad2b898eb39af8d7edb76788abc3366783d4c99a
Strangerke
Strangerke at scummvm.org
Mon Jun 18 21:00:44 CEST 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ad2b898eb3 CGE: Remove dead code originally used to load a savegame when starting the game
Commit: ad2b898eb39af8d7edb76788abc3366783d4c99a
https://github.com/scummvm/scummvm/commit/ad2b898eb39af8d7edb76788abc3366783d4c99a
Author: Strangerke (strangerke at scummvm.org)
Date: 2012-06-18T11:59:52-07:00
Commit Message:
CGE: Remove dead code originally used to load a savegame when starting the game
Changed paths:
engines/cge/cge_main.cpp
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index 05a94df..2620147 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)
More information about the Scummvm-git-logs
mailing list