diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp index 02dc90dbc32..b2187842755 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 bc22a62132f..c49532dc8cc 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();