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/textparticle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/textparticle.cpp') diff --git a/src/textparticle.cpp b/src/textparticle.cpp index a30e46069..818ac7920 100644 --- a/src/textparticle.cpp +++ b/src/textparticle.cpp @@ -43,7 +43,8 @@ TextParticle::TextParticle(Map *const map, const std::string &text, { } -bool TextParticle::draw(Graphics *graphics, int offsetX, int offsetY) const +bool TextParticle::draw(Graphics *const graphics, + const int offsetX, const int offsetY) const { BLOCK_START("TextParticle::draw") if (!isAlive()) -- cgit v1.2.3-60-g2f50