summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-05 12:33:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-05 15:48:51 +0300
commit126b1470842302537b0bc5e4527cf7fd540a9125 (patch)
tree8d98425338e7a7f01add71d762fba147fc097fc2 /src/textparticle.h
parentf6920653c7a958528df248ff61c372a0bd3d4f1d (diff)
downloadplus-126b1470842302537b0bc5e4527cf7fd540a9125.tar.gz
plus-126b1470842302537b0bc5e4527cf7fd540a9125.tar.bz2
plus-126b1470842302537b0bc5e4527cf7fd540a9125.tar.xz
plus-126b1470842302537b0bc5e4527cf7fd540a9125.zip
Add checks and const to animatedsprites and related classes.
Diffstat (limited to 'src/textparticle.h')
-rw-r--r--src/textparticle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textparticle.h b/src/textparticle.h
index 9d2f7d956..9882fa22e 100644
--- a/src/textparticle.h
+++ b/src/textparticle.h
@@ -40,8 +40,8 @@ class TextParticle final : 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;
// hack to improve text visibility
virtual int getPixelY() const override A_WARN_UNUSED