aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_v1.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2007-05-22 13:33:41 +0000
committerJohannes Schickel2007-05-22 13:33:41 +0000
commit06b3206b21cc4e93f0abdbd4d9cfb442e6516269 (patch)
treea3bc7a5b1e4bd6c0625e07ccb71fefff8453c21a /engines/kyra/script_v1.cpp
parent82d6145be5ed62c31483373c70e7e9ba821a4656 (diff)
downloadscummvm-rg350-06b3206b21cc4e93f0abdbd4d9cfb442e6516269.tar.gz
scummvm-rg350-06b3206b21cc4e93f0abdbd4d9cfb442e6516269.tar.bz2
scummvm-rg350-06b3206b21cc4e93f0abdbd4d9cfb442e6516269.zip
Fixes graphics glitch introduced while cleaning up.
svn-id: r26914
Diffstat (limited to 'engines/kyra/script_v1.cpp')
-rw-r--r--engines/kyra/script_v1.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp
index 00ad96b3f6..4882a4a948 100644
--- a/engines/kyra/script_v1.cpp
+++ b/engines/kyra/script_v1.cpp
@@ -1335,12 +1335,12 @@ int KyraEngine_v1::o1_drawItemShapeIntoScene(ScriptState *script) {
flags = 1;
if (onlyHidPage) {
- _screen->drawShape(2, _shapes[220+item], x, y, 0, flags);
+ _screen->drawShape(2, _shapes[216+item], x, y, 0, flags);
} else {
_screen->hideMouse();
_animator->restoreAllObjectBackgrounds();
- _screen->drawShape(2, _shapes[220+item], x, y, 0, flags);
- _screen->drawShape(0, _shapes[220+item], x, y, 0, flags);
+ _screen->drawShape(2, _shapes[216+item], x, y, 0, flags);
+ _screen->drawShape(0, _shapes[216+item], x, y, 0, flags);
_animator->flagAllObjectsForBkgdChange();
_animator->preserveAnyChangedBackgrounds();
_animator->flagAllObjectsForRefresh();