diff options
author | Filippos Karapetis | 2012-07-04 01:01:35 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-07-04 01:02:21 +0300 |
commit | d757b5b94a0b180ce8e2e59617898a322f8ee0d5 (patch) | |
tree | 43f20f8457cb86d13d70ab93a492c968bb926c8a /engines/sci/graphics | |
parent | 43224076e785e615d3ab3a5de53c3aff659a64f2 (diff) | |
download | scummvm-rg350-d757b5b94a0b180ce8e2e59617898a322f8ee0d5.tar.gz scummvm-rg350-d757b5b94a0b180ce8e2e59617898a322f8ee0d5.tar.bz2 scummvm-rg350-d757b5b94a0b180ce8e2e59617898a322f8ee0d5.zip |
SCI: Update some version checks in kernelFrameout() to work with SCI3 too
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 265a175e66..5703579b1e 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -653,7 +653,7 @@ void GfxFrameout::kernelFrameout() { if (view && view->isSci2Hires()) { view->adjustToUpscaledCoordinates(itemEntry->y, itemEntry->x); view->adjustToUpscaledCoordinates(itemEntry->z, dummyX); - } else if (getSciVersion() == SCI_VERSION_2_1) { + } else if (getSciVersion() >= SCI_VERSION_2_1) { _coordAdjuster->fromScriptToDisplay(itemEntry->y, itemEntry->x); _coordAdjuster->fromScriptToDisplay(itemEntry->z, dummyX); } @@ -691,7 +691,7 @@ void GfxFrameout::kernelFrameout() { if (view && view->isSci2Hires()) { view->adjustBackUpscaledCoordinates(nsRect.top, nsRect.left); view->adjustBackUpscaledCoordinates(nsRect.bottom, nsRect.right); - } else if (getSciVersion() == SCI_VERSION_2_1) { + } else if (getSciVersion() >= SCI_VERSION_2_1) { _coordAdjuster->fromDisplayToScript(nsRect.top, nsRect.left); _coordAdjuster->fromDisplayToScript(nsRect.bottom, nsRect.right); } |