From 3571da7a94a4eb00cd6f793fc190c3164e5dd5b0 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 1 Mar 2009 06:43:46 +0000 Subject: Correctly fix position of icons in AtariST version of Elvira 2. svn-id: r39011 --- engines/agos/agos.cpp | 4 ++++ engines/agos/vga.cpp | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'engines') diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 2151728cac..f8681b7a94 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -874,6 +874,10 @@ void AGOSEngine::setupGame() { _videoWindows[i] = initialVideoWindows_Common[i]; } } + + if (getGameType() == GType_ELVIRA2 && getPlatform() == Common::kPlatformAtariST) { + _videoWindows[9] = 75; + } } AGOSEngine::~AGOSEngine() { diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index a42989e347..d04c9aa56d 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -595,13 +595,6 @@ void AGOSEngine::vc10_draw() { flags = vcReadNextWord(); } - if (getGameType() == GType_ELVIRA2 && getPlatform() == Common::kPlatformAtariST) { - if (((image >= 11 && image <= 16) || (image >= 195 && image <= 198)) && - _zoneNumber == 1) { - y += 75; - } - } - drawImage_init(image, palette, x, y, flags); } -- cgit v1.2.3