diff options
author | Filippos Karapetis | 2014-06-14 17:48:29 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-06-14 17:48:29 +0300 |
commit | 1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281 (patch) | |
tree | 742e9c91d36e9101fc8bd68542f035c0c5cbb571 /engines/mads | |
parent | 2ee3b7c11b145244e648edeaa04da5c03bf668d6 (diff) | |
download | scummvm-rg350-1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281.tar.gz scummvm-rg350-1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281.tar.bz2 scummvm-rg350-1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281.zip |
MADS: Init scene variables for Phantom/Dragon, so they can start again
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/dragonsphere/game_dragonsphere.cpp | 4 | ||||
-rw-r--r-- | engines/mads/phantom/game_phantom.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/mads/dragonsphere/game_dragonsphere.cpp b/engines/mads/dragonsphere/game_dragonsphere.cpp index 9d9b48dd66..3836adb6d2 100644 --- a/engines/mads/dragonsphere/game_dragonsphere.cpp +++ b/engines/mads/dragonsphere/game_dragonsphere.cpp @@ -42,6 +42,10 @@ GameDragonsphere::GameDragonsphere(MADSEngine *vm) } void GameDragonsphere::startGame() { + _scene._priorSceneId = 0; + _scene._currentSceneId = -1; + _scene._nextSceneId = 101; + initializeGlobals(); } diff --git a/engines/mads/phantom/game_phantom.cpp b/engines/mads/phantom/game_phantom.cpp index b0b1bf7836..ba2179fcbf 100644 --- a/engines/mads/phantom/game_phantom.cpp +++ b/engines/mads/phantom/game_phantom.cpp @@ -42,6 +42,10 @@ GamePhantom::GamePhantom(MADSEngine *vm) } void GamePhantom::startGame() { + _scene._priorSceneId = 0; + _scene._currentSceneId = -1; + _scene._nextSceneId = 101; + initializeGlobals(); } |