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/particle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/particle.h') diff --git a/src/particle.h b/src/particle.h index 3a48afbb4..2f4ea77fd 100644 --- a/src/particle.h +++ b/src/particle.h @@ -107,8 +107,8 @@ class Particle : public Actor /** * 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; /** * Necessary for sorting with the other sprites. -- cgit v1.2.3-70-g09d2