summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 14:16:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 14:16:36 +0300
commitc961f71619a09667931b2ea52171181b55f2047a (patch)
tree871b3fd355d949fa249597b22d3fc0aa3fcc17c1
parent1c77ad7b7c5059376ae6f109ff681a3473e2a51c (diff)
downloadmanaverse-c961f71619a09667931b2ea52171181b55f2047a.tar.gz
manaverse-c961f71619a09667931b2ea52171181b55f2047a.tar.bz2
manaverse-c961f71619a09667931b2ea52171181b55f2047a.tar.xz
manaverse-c961f71619a09667931b2ea52171181b55f2047a.zip
Add missing const into inputactiondata.
-rw-r--r--src/input/inputactiondata.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h
index babea1137..2f5ee2ed6 100644
--- a/src/input/inputactiondata.h
+++ b/src/input/inputactiondata.h
@@ -29,18 +29,18 @@
struct InputActionData final
{
- const char *configField;
- int defaultType1;
- int defaultValue1;
- int defaultType2;
- int defaultValue2;
- int grp;
- ActionFuncPtr action;
- int modKeyIndex;
- int priority;
- int condition;
- std::string chatCommand;
- bool useArgs;
+ const char *const configField;
+ const int defaultType1;
+ const int defaultValue1;
+ const int defaultType2;
+ const int defaultValue2;
+ const int grp;
+ const ActionFuncPtr action;
+ const int modKeyIndex;
+ const int priority;
+ const int condition;
+ const std::string chatCommand;
+ const bool useArgs;
};
namespace Input