MADS: Add synchronize in scene 501

This commit is contained in:
Strangerke 2014-05-20 07:20:31 +02:00
parent facbe1b177
commit 3aa9dc3947
2 changed files with 10 additions and 0 deletions

View File

@ -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:

View File

@ -61,6 +61,7 @@ private:
public:
Scene501(MADSEngine *vm) : Scene5xx(vm) {}
void synchronize(Common::Serializer &s);
virtual void setup();
virtual void enter();