aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ui/ui_tiled_image.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/ui/ui_tiled_image.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/ui/ui_tiled_image.cpp')
-rw-r--r--engines/wintermute/ui/ui_tiled_image.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/wintermute/ui/ui_tiled_image.cpp b/engines/wintermute/ui/ui_tiled_image.cpp
index 29b99f71fc..b7bbbbbbe5 100644
--- a/engines/wintermute/ui/ui_tiled_image.cpp
+++ b/engines/wintermute/ui/ui_tiled_image.cpp
@@ -44,15 +44,15 @@ IMPLEMENT_PERSISTENT(UITiledImage, false)
UITiledImage::UITiledImage(BaseGame *inGame) : BaseObject(inGame) {
_image = nullptr;
- BasePlatform::setRectEmpty(&_upLeft);
- BasePlatform::setRectEmpty(&_upMiddle);
- BasePlatform::setRectEmpty(&_upRight);
- BasePlatform::setRectEmpty(&_middleLeft);
- BasePlatform::setRectEmpty(&_middleMiddle);
- BasePlatform::setRectEmpty(&_middleRight);
- BasePlatform::setRectEmpty(&_downLeft);
- BasePlatform::setRectEmpty(&_downMiddle);
- BasePlatform::setRectEmpty(&_downRight);
+ _upLeft.setEmpty();
+ _upMiddle.setEmpty();
+ _upRight.setEmpty();
+ _middleLeft.setEmpty();
+ _middleMiddle.setEmpty();
+ _middleRight.setEmpty();
+ _downLeft.setEmpty();
+ _downMiddle.setEmpty();
+ _downRight.setEmpty();
}