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

dreammaster dreammaster at scummvm.org
Thu Oct 15 14:03:51 CEST 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:
f1e2e00621 SHERLOCK: RT: Fix clouds appearing inside Dewar's lab


Commit: f1e2e00621bc35b6afaf394bcc9d32b465e86e2f
    https://github.com/scummvm/scummvm/commit/f1e2e00621bc35b6afaf394bcc9d32b465e86e2f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-10-15T08:03:16-04:00

Commit Message:
SHERLOCK: RT: Fix clouds appearing inside Dewar's lab

Changed paths:
    engines/sherlock/objects.cpp



diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp
index 093f666..0856c22 100644
--- a/engines/sherlock/objects.cpp
+++ b/engines/sherlock/objects.cpp
@@ -539,7 +539,7 @@ int BaseObject::checkNameForCodes(const Common::String &name, FixedTextActionId
 			// G: Have object go somewhere
 			// A: Add onto existing co-ordinates
 			Common::String sx(name.c_str() + 2, name.c_str() + 5);
-			Common::String sy(name.c_str() + 6, name.c_str() + 9);
+			Common::String sy(name.c_str() + 5, name.c_str() + 8);
 
 			if (ch == 'G')
 				_position = Common::Point(atoi(sx.c_str()), atoi(sy.c_str()));






More information about the Scummvm-git-logs mailing list