aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-06-19 11:50:22 +0000
committerTravis Howell2007-06-19 11:50:22 +0000
commitab9b9a1bf362e68f5f6a69462ef2b7c146e6e08f (patch)
treee0ce7e51deb2bd42f4487144f01bc9a5e7e1ffe3 /engines/agos/string.cpp
parentaeb9668d6641059866d745df4026ccc88985f864 (diff)
downloadscummvm-rg350-ab9b9a1bf362e68f5f6a69462ef2b7c146e6e08f.tar.gz
scummvm-rg350-ab9b9a1bf362e68f5f6a69462ef2b7c146e6e08f.tar.bz2
scummvm-rg350-ab9b9a1bf362e68f5f6a69462ef2b7c146e6e08f.zip
Cleanup, could cause regressions.
svn-id: r27547
Diffstat (limited to 'engines/agos/string.cpp')
-rw-r--r--engines/agos/string.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp
index 8c5e911c39..d9249d3305 100644
--- a/engines/agos/string.cpp
+++ b/engines/agos/string.cpp
@@ -364,16 +364,16 @@ void AGOSEngine::printScreenText(uint vgaSpriteId, uint color, const char *strin
renderString(vgaSpriteId, color, width, height, convertedString);
}
- int b = (!getBitFlag(133)) ? 3 : 4;
+ uint16 windowNum = (!getBitFlag(133)) ? 3 : 4;
x /= 8;
if (y < 2)
y = 2;
if (getGameType() == GType_SIMON1)
- animate(b, 2, vgaSpriteId + 199, x, y, 12);
+ animate(windowNum, 2, 199 + vgaSpriteId, x, y, 12);
else
- animate(b, 2, vgaSpriteId, x, y, 12);
+ animate(windowNum, 2, vgaSpriteId, x, y, 12);
}
// The Feeble Files specific