Correctly fix position of icons in AtariST version of Elvira 2.

svn-id: r39011
This commit is contained in:
Travis Howell 2009-03-01 06:43:46 +00:00
parent 7ee049ab8f
commit 3571da7a94
2 changed files with 4 additions and 7 deletions

View File

@ -874,6 +874,10 @@ void AGOSEngine::setupGame() {
_videoWindows[i] = initialVideoWindows_Common[i];
}
}
if (getGameType() == GType_ELVIRA2 && getPlatform() == Common::kPlatformAtariST) {
_videoWindows[9] = 75;
}
}
AGOSEngine::~AGOSEngine() {

View File

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