aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-10-26 14:42:24 +0000
committerMartin Kiewitz2010-10-26 14:42:24 +0000
commitf9cb635b5825c89e0084c9e75d420cb9d582ca34 (patch)
tree1c42ea9d148f8d35e4da02068d20cc5c2bba60ff
parent5323be5f8465fb1a8d461aed1e03718bb93e5c49 (diff)
downloadscummvm-rg350-f9cb635b5825c89e0084c9e75d420cb9d582ca34.tar.gz
scummvm-rg350-f9cb635b5825c89e0084c9e75d420cb9d582ca34.tar.bz2
scummvm-rg350-f9cb635b5825c89e0084c9e75d420cb9d582ca34.zip
SCI: fixing bug #3091767 by reverting r52820
interpreters should get checked for that hoyle 4 code, comment added svn-id: r53851
-rw-r--r--engines/sci/graphics/animate.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp
index f743ebd188..761b80d769 100644
--- a/engines/sci/graphics/animate.cpp
+++ b/engines/sci/graphics/animate.cpp
@@ -292,7 +292,10 @@ void GfxAnimate::fill(byte &old_picNotValid, bool maySetNsRect) {
// versions. m_kiewitz knew about this flag before I (lskovlun) implemented it,
// so it is possible that more test cases are known. Also, some presently open
// SCI1.1 bugs may be fixed by this and should be re-tested with this patch generalized.
- if (it->scaleSignal & kScaleSignalDontSetNsrect)
+
+ // NOTE: *this* breaks at least eco quest 2. One should go through interpreters and check
+ // the code before enabling it for more games (TODO)
+ if ((g_sci->getGameId() == GID_HOYLE4) && (it->scaleSignal & kScaleSignalDontSetNsrect))
setNsRect = false;
if (setNsRect) {