[Scummvm-cvs-logs] scummvm master -> db95979a2401711089f747c202f8334b15a2d400

dreammaster dreammaster at scummvm.org
Sat Oct 11 00:12:25 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
db95979a24 MADS: Fix loading correct backgrounds during animations


Commit: db95979a2401711089f747c202f8334b15a2d400
    https://github.com/scummvm/scummvm/commit/db95979a2401711089f747c202f8334b15a2d400
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-10-10T18:11:48-04:00

Commit Message:
MADS: Fix loading correct backgrounds during animations

Changed paths:
    engines/mads/scene_data.cpp



diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index 174579a..aeeb99d 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);






More information about the Scummvm-git-logs mailing list