aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/saveload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/saveload.cpp b/engines/prince/saveload.cpp
index 83d45a4bd7..4bf41b43c1 100644
--- a/engines/prince/saveload.cpp
+++ b/engines/prince/saveload.cpp
@@ -280,7 +280,7 @@ void PrinceEngine::syncGame(Common::SeekableReadStream *readStream, Common::Writ
// Background animations
for (int backAnimSlot = 0; backAnimSlot < kMaxBackAnims; backAnimSlot++) {
- uint32 value = _script->getBackAnimId(_room->_backAnim, backAnimSlot);
+ uint32 value = _script->getBackAnimId(room->_backAnim, backAnimSlot);
s.syncAsUint32LE(value);
}
@@ -374,7 +374,7 @@ void PrinceEngine::syncGame(Common::SeekableReadStream *readStream, Common::Writ
for (int backAnimSlot = 0; backAnimSlot < kMaxBackAnims; backAnimSlot++) {
uint32 value = 0;
s.syncAsUint32LE(value);
- _script->setBackAnimId(_room->_backAnim, backAnimSlot, value);
+ _script->setBackAnimId(room->_backAnim, backAnimSlot, value);
}
// Objects