aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/draci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/draci.cpp')
-rw-r--r--engines/draci/draci.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 566d3056da..fa0cf495a2 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -246,7 +246,13 @@ void DraciEngine::handleEvents() {
if (escRoom >= 0) {
// Schedule room change
- // TODO: gate 0 is not always the best one for returning from the map
+ // TODO: gate 0 (always present) is not
+ // always best for returning from the
+ // map, e.g. in the starting location.
+ // also, after loading the game, we
+ // shouldn't run any gate program, but
+ // rather restore the state of all
+ // objects.
_game->scheduleEnteringRoomUsingGate(escRoom, 0);
// Immediately cancel any running animation or dubbing.
@@ -394,8 +400,6 @@ Common::Error DraciEngine::loadGameState(int slot) {
// here are now, without waiting for any other code to finish, thanks
// to our constraint in canLoadGameStateCurrently() and to having
// enterNewRoom() called right after we exit from here.
- //
- // TODO: Handle saving in the map room
return loadSavegameData(slot, this);
}