From 6e0cdf4f00b7d5fcfd6eaeca617c59fc22ce2034 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 11:31:40 +0300 Subject: fix const in definition in statuseffect. --- src/statuseffect.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2