From 222de5a2f5fbce178fdcb4f6244bdae20a20847f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 1 Aug 2015 19:34:13 -0400 Subject: SHERLOCK: RT: Replace constant --- engines/sherlock/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3