diff options
author | Paul Gilbert | 2013-09-10 21:51:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-09-10 21:51:05 -0400 |
commit | 794811c28093e229379e94f6c745dcfe8c5449d4 (patch) | |
tree | 22959d2528d6999874480dc1fbc4ac77d54c5692 /engines | |
parent | 06f64f68e05cf5009d56e2c628c57b6db440ed14 (diff) | |
download | scummvm-rg350-794811c28093e229379e94f6c745dcfe8c5449d4.tar.gz scummvm-rg350-794811c28093e229379e94f6c745dcfe8c5449d4.tar.bz2 scummvm-rg350-794811c28093e229379e94f6c745dcfe8c5449d4.zip |
TSAGE: Fixes for R2R Spill Mountains maze walk regions
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes2.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes2.cpp b/engines/tsage/ringworld2/ringworld2_scenes2.cpp index 5aaabc3e4b..9c601778cc 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes2.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes2.cpp @@ -285,7 +285,7 @@ void Scene2000::initExits() { case 21: case 26: loadScene(2200); - R2_GLOBALS._walkRegions.load(2000); + R2_GLOBALS._walkRegions.load(2200); _eastExit._enabled = false; if (R2_GLOBALS._player._oldCharacterScene[R2_GLOBALS._player._characterIndex] == 1900) _mazePlayerMode = 2; @@ -1030,6 +1030,12 @@ void Scene2000::process(Event &event) { void Scene2000::synchronize(Serializer &s) { SceneExt::synchronize(s); + // Synchronise active walk regions + int regionsId = R2_GLOBALS._walkRegions._resNum; + s.syncAsUint16LE(regionsId); + if (s.isLoading()) + R2_GLOBALS._walkRegions.load(regionsId); + s.syncAsByte(_exitingFlag); s.syncAsSint16LE(_mazePlayerMode); } |