aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-10 18:11:48 -0400
committerPaul Gilbert2014-10-10 18:11:48 -0400
commitdb95979a2401711089f747c202f8334b15a2d400 (patch)
treed26694bd9625b7f64dfadfb4b6ca843674c61878 /engines
parent17e74e9a371e4d6636882a1660f007c06715ec6f (diff)
downloadscummvm-rg350-db95979a2401711089f747c202f8334b15a2d400.tar.gz
scummvm-rg350-db95979a2401711089f747c202f8334b15a2d400.tar.bz2
scummvm-rg350-db95979a2401711089f747c202f8334b15a2d400.zip
MADS: Fix loading correct backgrounds during animations
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/scene_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index 174579a624..aeeb99d5b3 100644
--- a/engines/mads/scene_data.cpp
+++ b/engines/mads/scene_data.cpp
@@ -232,7 +232,7 @@ void SceneInfo::load(int sceneId, int variant, const Common::String &resName,
infoFile.close();
if (_vm->getGameID() == GType_RexNebular) {
- loadMadsV1Background(_sceneId, resName, flags, bgSurface);
+ loadMadsV1Background(_artFileNum, resName, flags, bgSurface);
loadPalette(_sceneId, _artFileNum, resName, flags, bgSurface);
} else {
loadMadsV2Background(_sceneId, resName, flags, bgSurface);