aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-10-15 08:03:16 -0400
committerPaul Gilbert2015-10-15 08:03:16 -0400
commitf1e2e00621bc35b6afaf394bcc9d32b465e86e2f (patch)
tree24cead8ee9ffd298518366a65e2598c70faa8677 /engines/sherlock
parentf959a461a9a7bb01ada167e637c4249f70ea717c (diff)
downloadscummvm-rg350-f1e2e00621bc35b6afaf394bcc9d32b465e86e2f.tar.gz
scummvm-rg350-f1e2e00621bc35b6afaf394bcc9d32b465e86e2f.tar.bz2
scummvm-rg350-f1e2e00621bc35b6afaf394bcc9d32b465e86e2f.zip
SHERLOCK: RT: Fix clouds appearing inside Dewar's lab
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/objects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp
index 093f666a46..0856c226f1 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()));