From 0c9190e17be10e513d89d15aa29c1aab84124af7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 May 2015 13:42:08 +0300 Subject: Add strong typed bool type UseArgs. --- src/input/inputactiondata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/input/inputactiondata.h') diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h index 76a04afc1..dc2ada642 100644 --- a/src/input/inputactiondata.h +++ b/src/input/inputactiondata.h @@ -25,6 +25,8 @@ #include "actions/actionfuncptr.h" +#include "enums/simpletypes.h" + struct InputActionData final { const char *const configField; @@ -38,7 +40,7 @@ struct InputActionData final const int priority; const int condition; const std::string chatCommand; - const bool useArgs; + const UseArgs useArgs; }; namespace Input -- cgit v1.2.3-70-g09d2