Fixes graphics glitch introduced while cleaning up.

svn-id: r26914
This commit is contained in:
Johannes Schickel 2007-05-22 13:33:41 +00:00
parent 82d6145be5
commit 06b3206b21

View File

@ -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();