aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_frame.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-10-29 02:19:00 +0100
committerEinar Johan Trøan Sømåen2013-10-29 02:59:53 +0100
commit3fb418390910cfb00d8b3dda8da33b8302615b6a (patch)
tree7e932ab55080c7a6c152874dd33b1cd2509ccfdc /engines/wintermute/base/base_frame.cpp
parent211b8c9732bed65c29b8e48ad20d6c934a942e02 (diff)
downloadscummvm-rg350-3fb418390910cfb00d8b3dda8da33b8302615b6a.tar.gz
scummvm-rg350-3fb418390910cfb00d8b3dda8da33b8302615b6a.tar.bz2
scummvm-rg350-3fb418390910cfb00d8b3dda8da33b8302615b6a.zip
WINTERMUTE: Remove BasePlatform::setRectEmpty (replace with member-call)
Diffstat (limited to 'engines/wintermute/base/base_frame.cpp')
-rw-r--r--engines/wintermute/base/base_frame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/base_frame.cpp b/engines/wintermute/base/base_frame.cpp
index 0a17ee7ff0..b8c25b7465 100644
--- a/engines/wintermute/base/base_frame.cpp
+++ b/engines/wintermute/base/base_frame.cpp
@@ -181,7 +181,7 @@ bool BaseFrame::loadBuffer(char *buffer, int lifeTime, bool keepLoaded) {
bool decoration = false;
bool mirrorX = false;
bool mirrorY = false;
- BasePlatform::setRectEmpty(&rect);
+ rect.setEmpty();
char *surface_file = nullptr;
while ((cmd = parser.getCommand(&buffer, commands, &params)) > 0) {
@@ -352,7 +352,7 @@ bool BaseFrame::getBoundingRect(Rect32 *rect, int x, int y, float scaleX, float
if (!rect) {
return false;
}
- BasePlatform::setRectEmpty(rect);
+ rect->setEmpty();
Rect32 subRect;