summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 11:31:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit6e0cdf4f00b7d5fcfd6eaeca617c59fc22ce2034 (patch)
tree54597a32425d45c5af0952a135b062fef73e28df /src/statuseffect.h
parentdd8cc8f1ec201b482630200c46a56454f2195b51 (diff)
downloadmanaverse-6e0cdf4f00b7d5fcfd6eaeca617c59fc22ce2034.tar.gz
manaverse-6e0cdf4f00b7d5fcfd6eaeca617c59fc22ce2034.tar.bz2
manaverse-6e0cdf4f00b7d5fcfd6eaeca617c59fc22ce2034.tar.xz
manaverse-6e0cdf4f00b7d5fcfd6eaeca617c59fc22ce2034.zip
fix const in definition in statuseffect.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index 32450ac4a..90b49baf2 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -90,7 +90,8 @@ public:
* \param enabling Whether to retrieve the activating effect (true) or
* the deactivating effect (false).
*/
- static StatusEffect *getStunEffect(int index, bool enabling) A_WARN_UNUSED;
+ static StatusEffect *getStunEffect(const int index,
+ const bool enabling) A_WARN_UNUSED;
/**
* Maps a block effect index to its corresponding effect index. Block