aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/celobj32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/celobj32.cpp')
-rw-r--r--engines/sci/graphics/celobj32.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp
index 1b93aee4aa..f62712d758 100644
--- a/engines/sci/graphics/celobj32.cpp
+++ b/engines/sci/graphics/celobj32.cpp
@@ -857,9 +857,8 @@ void CelObj::drawUncompHzFlipNoMDNoSkip(Buffer &target, const Common::Rect &targ
void CelObj::scaleDrawNoMD(Buffer &target, const Ratio &scaleX, const Ratio &scaleY, const Common::Rect &targetRect, const Common::Point &scaledPosition) const {
// In SSCI the checks are > because their rects are BR-inclusive; our checks
// are >= because our rects are BR-exclusive
- if (g_sci->_features->hasEmptyScaleDrawHack() &&
- (targetRect.left >= targetRect.right ||
- targetRect.top >= targetRect.bottom)) {
+ if (targetRect.left >= targetRect.right ||
+ targetRect.top >= targetRect.bottom) {
return;
}
@@ -872,9 +871,8 @@ void CelObj::scaleDrawNoMD(Buffer &target, const Ratio &scaleX, const Ratio &sca
void CelObj::scaleDrawUncompNoMD(Buffer &target, const Ratio &scaleX, const Ratio &scaleY, const Common::Rect &targetRect, const Common::Point &scaledPosition) const {
// In SSCI the checks are > because their rects are BR-inclusive; our checks
// are >= because our rects are BR-exclusive
- if (g_sci->_features->hasEmptyScaleDrawHack() &&
- (targetRect.left >= targetRect.right ||
- targetRect.top >= targetRect.bottom)) {
+ if (targetRect.left >= targetRect.right ||
+ targetRect.top >= targetRect.bottom) {
return;
}