From f1e2e00621bc35b6afaf394bcc9d32b465e86e2f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 15 Oct 2015 08:03:16 -0400 Subject: SHERLOCK: RT: Fix clouds appearing inside Dewar's lab --- engines/sherlock/objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); -- cgit v1.2.3