summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 20:12:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 20:12:27 +0300
commit84e56a88817f7178b4895e2adf863b4d98b42e64 (patch)
tree794e0099ca9f749fb0b6b65b96acdb7ce5e97ef9 /src/sprite.h
parent4a21e45a63137009a654a212ea7512ecc2846648 (diff)
downloadmv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.gz
mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.bz2
mv-84e56a88817f7178b4895e2adf863b4d98b42e64.tar.xz
mv-84e56a88817f7178b4895e2adf863b4d98b42e64.zip
Add const to other classes.
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sprite.h b/src/sprite.h
index ab2dcfc6a..60dc288f1 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -113,7 +113,7 @@ class Sprite
virtual void *getHash2()
{ return this; }
- virtual bool updateNumber(unsigned num) = 0;
+ virtual bool updateNumber(const unsigned num) = 0;
protected:
float mAlpha; /**< The alpha opacity used to draw */