aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/nebular_scenes5.cpp9
-rw-r--r--engines/mads/nebular/nebular_scenes5.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp
index 02dc90dbc3..b218784275 100644
--- a/engines/mads/nebular/nebular_scenes5.cpp
+++ b/engines/mads/nebular/nebular_scenes5.cpp
@@ -99,6 +99,15 @@ void Scene501::setup() {
_scene->addActiveVocab(0x18B);
}
+void Scene501::synchronize(Common::Serializer &s) {
+ Scene5xx::synchronize(s);
+
+ s.syncAsSint16LE(_mainSequenceId);
+ s.syncAsSint16LE(_mainSpriteId);
+ s.syncAsSint16LE(_doorHotspotid);
+ s.syncAsByte(_rexPunched);
+}
+
void Scene501::handleSlotActions() {
switch (_game._trigger) {
case 0:
diff --git a/engines/mads/nebular/nebular_scenes5.h b/engines/mads/nebular/nebular_scenes5.h
index bc22a62132..c49532dc8c 100644
--- a/engines/mads/nebular/nebular_scenes5.h
+++ b/engines/mads/nebular/nebular_scenes5.h
@@ -61,6 +61,7 @@ private:
public:
Scene501(MADSEngine *vm) : Scene5xx(vm) {}
+ void synchronize(Common::Serializer &s);
virtual void setup();
virtual void enter();