aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/particles
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/particles
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/particles')
-rw-r--r--engines/wintermute/base/particles/part_emitter.cpp2
-rw-r--r--engines/wintermute/base/particles/part_particle.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/particles/part_emitter.cpp b/engines/wintermute/base/particles/part_emitter.cpp
index 4a1095c5c1..dc48815715 100644
--- a/engines/wintermute/base/particles/part_emitter.cpp
+++ b/engines/wintermute/base/particles/part_emitter.cpp
@@ -50,7 +50,7 @@ IMPLEMENT_PERSISTENT(PartEmitter, false)
PartEmitter::PartEmitter(BaseGame *inGame, BaseScriptHolder *owner) : BaseObject(inGame) {
_width = _height = 0;
- BasePlatform::setRectEmpty(&_border);
+ _border.setEmpty();
_borderThicknessLeft = _borderThicknessRight = _borderThicknessTop = _borderThicknessBottom = 0;
_angle1 = _angle2 = 0;
diff --git a/engines/wintermute/base/particles/part_particle.cpp b/engines/wintermute/base/particles/part_particle.cpp
index f4cd61c078..ccef554d9b 100644
--- a/engines/wintermute/base/particles/part_particle.cpp
+++ b/engines/wintermute/base/particles/part_particle.cpp
@@ -45,7 +45,7 @@ PartParticle::PartParticle(BaseGame *inGame) : BaseClass(inGame) {
_creationTime = 0;
_lifeTime = 0;
_isDead = true;
- BasePlatform::setRectEmpty(&_border);
+ _border.setEmpty();
_state = PARTICLE_NORMAL;
_fadeStart = 0;