diff options
author | Travis Howell | 2009-03-01 06:43:46 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-01 06:43:46 +0000 |
commit | 3571da7a94a4eb00cd6f793fc190c3164e5dd5b0 (patch) | |
tree | f5f28d410295794c69442e4e597996833df190c2 /engines | |
parent | 7ee049ab8f24500171ec56233d686e241ccf52c5 (diff) | |
download | scummvm-rg350-3571da7a94a4eb00cd6f793fc190c3164e5dd5b0.tar.gz scummvm-rg350-3571da7a94a4eb00cd6f793fc190c3164e5dd5b0.tar.bz2 scummvm-rg350-3571da7a94a4eb00cd6f793fc190c3164e5dd5b0.zip |
Correctly fix position of icons in AtariST version of Elvira 2.
svn-id: r39011
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.cpp | 4 | ||||
-rw-r--r-- | engines/agos/vga.cpp | 7 |
2 files changed, 4 insertions, 7 deletions
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); } |