summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 19:50:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 19:50:03 +0300
commit110815cb875c0ceb76c1c37263f4b5fe09a927b6 (patch)
tree8e1683f6665c8c6e5eff6666247d3ad9c4b26550
parent00c7073096a7bf40cee7595d0d419b9feff1c120 (diff)
downloadmanaplus-110815cb875c0ceb76c1c37263f4b5fe09a927b6.tar.gz
manaplus-110815cb875c0ceb76c1c37263f4b5fe09a927b6.tar.bz2
manaplus-110815cb875c0ceb76c1c37263f4b5fe09a927b6.tar.xz
manaplus-110815cb875c0ceb76c1c37263f4b5fe09a927b6.zip
add new chat command /magicattack
-rw-r--r--src/commands.h2
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}
};