summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
};