From eda836f21a3331e5a3a1e3c3965081f64a6e64eb Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 20 May 2017 20:32:27 -0500 Subject: SCI: Nitpicky cleanup of some magic numbers and what-not-why comments --- engines/sci/engine/savegame.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'engines/sci/engine/savegame.cpp') diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 1095b7fe53..8767744acc 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -233,7 +233,6 @@ void SegManager::saveLoadWithSerializer(Common::Serializer &s) { } #ifdef ENABLE_SCI32 } else if (type == SEG_TYPE_ARRAY) { - // Set the correct segment for SCI32 arrays _arraysSegId = i; } else if (s.getVersion() >= 36 && type == SEG_TYPE_BITMAP) { _bitmapSegId = i; @@ -251,13 +250,10 @@ void SegManager::saveLoadWithSerializer(Common::Serializer &s) { if (type == SEG_TYPE_SCRIPT) { Script *scr = (Script *)mobj; - // If we are loading a script, perform some extra steps if (s.isLoading()) { - // Hook the script up in the script->segment map _scriptSegMap[scr->getScriptNumber()] = i; } - // Sync the script's string heap if (s.getVersion() >= 28) scr->syncStringHeap(s); } -- cgit v1.2.3