diff options
author | Einar Johan Trøan Sømåen | 2012-07-09 12:27:06 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-09 12:27:06 +0200 |
commit | 07cebdbf2b70e02b12d32880d23dbe293ab12358 (patch) | |
tree | d60a66f89c8bd1e1749010fa3aa41d2e5459f5ad /engines/wintermute/Base/PartParticle.cpp | |
parent | 2959065e49390ab1da0b00a277a464d991ff10ad (diff) | |
download | scummvm-rg350-07cebdbf2b70e02b12d32880d23dbe293ab12358.tar.gz scummvm-rg350-07cebdbf2b70e02b12d32880d23dbe293ab12358.tar.bz2 scummvm-rg350-07cebdbf2b70e02b12d32880d23dbe293ab12358.zip |
WINTERMUTE: Change usage of Common::Rect to our own 32-bit variant.
Diffstat (limited to 'engines/wintermute/Base/PartParticle.cpp')
-rw-r--r-- | engines/wintermute/Base/PartParticle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Base/PartParticle.cpp b/engines/wintermute/Base/PartParticle.cpp index 3eaa546d29..f3a8de9ece 100644 --- a/engines/wintermute/Base/PartParticle.cpp +++ b/engines/wintermute/Base/PartParticle.cpp @@ -124,7 +124,7 @@ ERRORCODE CPartParticle::update(CPartEmitter *emitter, uint32 currentTime, uint3 // particle hit the border
if (!_isDead && !CBPlatform::isRectEmpty(&_border)) {
- Common::Point p;
+ Point32 p;
p.x = (int32)_pos.x;
p.y = (int32)_pos.y;
if (!CBPlatform::ptInRect(&_border, p))
|