diff options
author | Bendegúz Nagy | 2016-07-25 13:25:51 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 02c8f286e79cbcf4e3b6ad383567c3ac08d4fe1c (patch) | |
tree | 436ed740c7df451de1a5384d7525a1b8e6afd619 /engines/dm | |
parent | af84d233d0d97f11d8d7241e4ed4a751ed6c5a64 (diff) | |
download | scummvm-rg350-02c8f286e79cbcf4e3b6ad383567c3ac08d4fe1c.tar.gz scummvm-rg350-02c8f286e79cbcf4e3b6ad383567c3ac08d4fe1c.tar.bz2 scummvm-rg350-02c8f286e79cbcf4e3b6ad383567c3ac08d4fe1c.zip |
DM: Fix segfault with resume game
Diffstat (limited to 'engines/dm')
-rw-r--r-- | engines/dm/loadsave.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/dm/loadsave.cpp b/engines/dm/loadsave.cpp index 3a075bd4f7..138f9fd7ed 100644 --- a/engines/dm/loadsave.cpp +++ b/engines/dm/loadsave.cpp @@ -58,7 +58,6 @@ LoadgameResponse DMEngine::f435_loadgame(int16 slot) { _g526_dungeonId = C10_DUNGEON_DM; if (_g298_newGame) { //L1366_B_FadePalette = !F0428_DIALOG_RequireGameDiskInDrive_NoDialogDrawn(C0_DO_NOT_FORCE_DIALOG_DM_CSB, true); -T0435002: _g524_restartGameAllowed = false; _championMan->_g305_partyChampionCount = 0; _championMan->_g414_leaderHandObject = Thing::_none; @@ -70,6 +69,9 @@ T0435002: goto T0435004; }*/ + warning(false, "DUMMY CODE in f435_loadgame setting _g298_newGame to k1_modeLoadDungeon"); + _g298_newGame = k1_modeLoadDungeon; + SaveGameHeader header; readSaveGameHeader(file, &header); |