aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/sprites.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/sprites.cpp')
-rw-r--r--engines/xeen/sprites.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/xeen/sprites.cpp b/engines/xeen/sprites.cpp
index 8ae7e41b95..218e712433 100644
--- a/engines/xeen/sprites.cpp
+++ b/engines/xeen/sprites.cpp
@@ -294,14 +294,12 @@ void SpriteResource::drawOffset(XSurface &dest, uint16 offset, const Common::Poi
++destPos.y;
}
}
- dest.addDirtyRect(Common::Rect(0, 0, dest.w, dest.h));
- /*
+
if (drawBounds.isValidRect()) {
drawBounds.clip(Common::Rect(0, 0, dest.w, dest.h));
if (!drawBounds.isEmpty())
dest.addDirtyRect(drawBounds);
}
- */
}
void SpriteResource::draw(XSurface &dest, int frame, const Common::Point &destPos,