[Scummvm-cvs-logs] scummvm master -> 222de5a2f5fbce178fdcb4f6244bdae20a20847f
dreammaster
dreammaster at scummvm.org
Sun Aug 2 01:37:52 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
222de5a2f5 SHERLOCK: RT: Replace constant
Commit: 222de5a2f5fbce178fdcb4f6244bdae20a20847f
https://github.com/scummvm/scummvm/commit/222de5a2f5fbce178fdcb4f6244bdae20a20847f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-01T19:34:13-04:00
Commit Message:
SHERLOCK: RT: Replace constant
Changed paths:
engines/sherlock/screen.cpp
diff --git a/engines/sherlock/screen.cpp b/engines/sherlock/screen.cpp
index 782869d..13f6fec 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);
More information about the Scummvm-git-logs
mailing list