diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 19:50:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 19:50:03 +0300 |
commit | 110815cb875c0ceb76c1c37263f4b5fe09a927b6 (patch) | |
tree | 8e1683f6665c8c6e5eff6666247d3ad9c4b26550 /src | |
parent | 00c7073096a7bf40cee7595d0d419b9feff1c120 (diff) | |
download | manaverse-110815cb875c0ceb76c1c37263f4b5fe09a927b6.tar.gz manaverse-110815cb875c0ceb76c1c37263f4b5fe09a927b6.tar.bz2 manaverse-110815cb875c0ceb76c1c37263f4b5fe09a927b6.tar.xz manaverse-110815cb875c0ceb76c1c37263f4b5fe09a927b6.zip |
add new chat command /magicattack
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h index 182faa895..78263afd2 100644 --- a/src/commands.h +++ b/src/commands.h @@ -211,6 +211,7 @@ enum COMMAND_MOVETOTARGET, COMMAND_MOVETOHOME, COMMAND_SETHOME, + COMMAND_MAGICATTACK, COMMAND_HACK, END_COMMANDS, }; @@ -300,6 +301,7 @@ static const CommandInfo commands[] = {"movetotarget", nullptr, Input::KEY_MOVE_TO_TARGET}, {"movetohome", nullptr, Input::KEY_MOVE_TO_HOME}, {"sethome", nullptr, Input::KEY_SET_HOME}, + {"magicattack", nullptr, Input::KEY_MAGIC_ATTACK}, {"hack", &Commands::hack, -1} }; |