[Scummvm-cvs-logs] scummvm master -> 1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281
bluegr
bluegr at gmail.com
Sat Jun 14 16:49:02 CEST 2014
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:
1ff27b72dc MADS: Init scene variables for Phantom/Dragon, so they can start again
Commit: 1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281
https://github.com/scummvm/scummvm/commit/1ff27b72dc0266ab54141bfc8fd3dda7cbc7d281
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-06-14T17:48:29+03:00
Commit Message:
MADS: Init scene variables for Phantom/Dragon, so they can start again
Changed paths:
engines/mads/dragonsphere/game_dragonsphere.cpp
engines/mads/phantom/game_phantom.cpp
diff --git a/engines/mads/dragonsphere/game_dragonsphere.cpp b/engines/mads/dragonsphere/game_dragonsphere.cpp
index 9d9b48d..3836adb 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 b0b1bf7..ba2179f 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();
}
More information about the Scummvm-git-logs
mailing list