aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-01 19:34:13 -0400
committerPaul Gilbert2015-08-01 19:34:13 -0400
commit222de5a2f5fbce178fdcb4f6244bdae20a20847f (patch)
tree7abacb67e74914cf4fbd9300368d0431eb935d58 /engines
parentd43c593e2e41666f586b94f1dfbe1f7b999405f0 (diff)
downloadscummvm-rg350-222de5a2f5fbce178fdcb4f6244bdae20a20847f.tar.gz
scummvm-rg350-222de5a2f5fbce178fdcb4f6244bdae20a20847f.tar.bz2
scummvm-rg350-222de5a2f5fbce178fdcb4f6244bdae20a20847f.zip
SHERLOCK: RT: Replace constant
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/screen.cpp b/engines/sherlock/screen.cpp
index 782869d77e..13f6fec3fa 100644
--- a/engines/sherlock/screen.cpp
+++ b/engines/sherlock/screen.cpp
@@ -441,7 +441,7 @@ void Screen::flushScaleImage(ImageFrame *frame, const Common::Point &pt, int16 *
void Screen::flushImage(ImageFrame *frame, const Common::Point &pt, Common::Rect &newBounds, int scaleVal) {
Common::Point newPos, newSize;
- if (scaleVal == 256)
+ if (scaleVal == SCALE_THRESHOLD)
flushImage(frame, pt, &newPos.x, &newPos.y, &newSize.x, &newSize.y);
else
flushScaleImage(frame, pt, &newPos.x, &newPos.y, &newSize.x, &newSize.y, scaleVal);