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

Strangerke Strangerke at scummvm.org
Tue Nov 24 19:42:46 CET 2015


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:
f8581f9e6a MADS: Don't set the camera for Rex game


Commit: f8581f9e6a2316979ac572c9c0fdbb22a06f4dfc
    https://github.com/scummvm/scummvm/commit/f8581f9e6a2316979ac572c9c0fdbb22a06f4dfc
Author: Strangerke (strangerke at scummvm.org)
Date: 2015-11-24T19:36:52+01:00

Commit Message:
MADS: Don't set the camera for Rex game

Changed paths:
    engines/mads/scene.cpp



diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index da62a63..2875bc0 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -154,7 +154,8 @@ void Scene::loadScene(int sceneId, const Common::String &prefix, bool palFlag) {
 	_sequences.clear();
 	_kernelMessages.clear();
 	_vm->_palette->_paletteUsage.load(&_scenePaletteUsage);
-	setCamera(Common::Point(0, 0));
+	if (_vm->getGameID() != GType_RexNebular)
+		setCamera(Common::Point(0, 0));
 
 	int flags = SCENEFLAG_LOAD_SHADOW;
 	if (_vm->_dithering)






More information about the Scummvm-git-logs mailing list