From 126b1470842302537b0bc5e4527cf7fd540a9125 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Feb 2013 12:33:10 +0300 Subject: Add checks and const to animatedsprites and related classes. --- src/imageparticle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imageparticle.h') diff --git a/src/imageparticle.h b/src/imageparticle.h index a72063e74..85d08d43f 100644 --- a/src/imageparticle.h +++ b/src/imageparticle.h @@ -54,8 +54,8 @@ class ImageParticle : public Particle /** * Draws the particle image */ - virtual bool draw(Graphics *graphics, - int offsetX, int offsetY) const override; + virtual bool draw(Graphics *const graphics, + const int offsetX, const int offsetY) const override; virtual void setAlpha(const float alpha) override { mAlpha = alpha; } -- cgit v1.2.3-70-g09d2