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.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/imageparticle.cpp') diff --git a/src/imageparticle.cpp b/src/imageparticle.cpp index 4eab16fc9..31eba7333 100644 --- a/src/imageparticle.cpp +++ b/src/imageparticle.cpp @@ -69,7 +69,8 @@ ImageParticle::~ImageParticle() setMap(nullptr); } -bool ImageParticle::draw(Graphics *graphics, int offsetX, int offsetY) const +bool ImageParticle::draw(Graphics *const graphics, + const int offsetX, const int offsetY) const { FUNC_BLOCK("ImageParticle::draw", 1) if (!isAlive() || !mImage) -- cgit v1.2.3-70-g09d2