summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/commands.h b/src/commands.h
index a27f430db..807f0ef06 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -23,6 +23,7 @@
#ifndef COMMANDS_H
#define COMMANDS_H
+#include "input/inputaction.h"
#include "input/keydata.h"
#include <string>
@@ -322,12 +323,12 @@ static const CommandInfo commands[] =
{"", &Commands::removeName, -1, false},
{"disableaway", &Commands::disableAway, -1, false},
{"enableaway", &Commands::enableAway, -1, false},
- {"drop", nullptr, Input::KEY_QUICK_DROP, false},
- {"dropn", nullptr, Input::KEY_QUICK_DROPN, false},
- {"movetotarget", nullptr, Input::KEY_MOVE_TO_TARGET, false},
- {"movetohome", nullptr, Input::KEY_MOVE_TO_HOME, false},
- {"sethome", nullptr, Input::KEY_SET_HOME, false},
- {"magicattack", nullptr, Input::KEY_MAGIC_ATTACK, false},
+ {"drop", nullptr, InputAction::QUICK_DROP, false},
+ {"dropn", nullptr, InputAction::QUICK_DROPN, false},
+ {"movetotarget", nullptr, InputAction::MOVE_TO_TARGET, false},
+ {"movetohome", nullptr, InputAction::MOVE_TO_HOME, false},
+ {"sethome", nullptr, InputAction::SET_HOME, false},
+ {"magicattack", nullptr, InputAction::MAGIC_ATTACK, false},
{"testparticle", &Commands::testParticle, -1, true},
{"createitems", &Commands::createItems, -1, false},
{"talkraw", &Commands::talkRaw, -1, true},