diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 17:25:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 17:25:24 +0300 |
commit | 16faca9102b7f6771fb0745d5b4bc694f966fca4 (patch) | |
tree | a6a1142744e9f9341a5356aa4476f0b418ec0c6c /src/events/inputevent.h | |
parent | 5d8efa68f4e913ec2b25f41d4607d582efaa2ac5 (diff) | |
download | manaplus-16faca9102b7f6771fb0745d5b4bc694f966fca4.tar.gz manaplus-16faca9102b7f6771fb0745d5b4bc694f966fca4.tar.bz2 manaplus-16faca9102b7f6771fb0745d5b4bc694f966fca4.tar.xz manaplus-16faca9102b7f6771fb0745d5b4bc694f966fca4.zip |
Into chat commands handlers send also event flags mask.
Diffstat (limited to 'src/events/inputevent.h')
-rw-r--r-- | src/events/inputevent.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/events/inputevent.h b/src/events/inputevent.h index 1d750c86a..53f629a1d 100644 --- a/src/events/inputevent.h +++ b/src/events/inputevent.h @@ -51,11 +51,13 @@ struct InputEvent final mask(mask0) { } - InputEvent(const std::string &args0, ChatTab *const tab0) : + InputEvent(const std::string &args0, + ChatTab *const tab0, + const int mask0) : args(args0), tab(tab0), action(-1), - mask(0) + mask(mask0) { } const std::string args; |