summaryrefslogtreecommitdiff
path: root/src/imageparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageparticle.cpp')
-rw-r--r--src/imageparticle.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/imageparticle.cpp b/src/imageparticle.cpp
index 557b3553..865c3046 100644
--- a/src/imageparticle.cpp
+++ b/src/imageparticle.cpp
@@ -19,21 +19,24 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "graphics.h"
#include "imageparticle.h"
+#include "graphics.h"
+
#include "resources/image.h"
ImageParticle::ImageParticle(Map *map, Image *image):
Particle(map),
mImage(image)
{
- if (mImage) mImage->incRef();
+ if (mImage)
+ mImage->incRef();
}
ImageParticle::~ImageParticle()
{
- if (mImage) mImage->decRef();
+ if (mImage)
+ mImage->decRef();
}
void ImageParticle::draw(Graphics *graphics, int offsetX, int offsetY) const