diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 23:21:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 23:22:35 +0300 |
commit | 81b70110b56fb44b913ad58e1640909c9a7a6d3c (patch) | |
tree | f9d7012a01b9c5e7c5e1634fa16f74a1daaf1eca /src/commands.cpp | |
parent | b0ab41f03839163549de4344c027a69312458e77 (diff) | |
download | manaplus-81b70110b56fb44b913ad58e1640909c9a7a6d3c.tar.gz manaplus-81b70110b56fb44b913ad58e1640909c9a7a6d3c.tar.bz2 manaplus-81b70110b56fb44b913ad58e1640909c9a7a6d3c.tar.xz manaplus-81b70110b56fb44b913ad58e1640909c9a7a6d3c.zip |
Move chat command /outfit into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 599db94e4..c5bc1e75e 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -166,29 +166,6 @@ impHandler(navigate) return true; } -impHandler(outfit) -{ - if (outfitWindow) - { - if (!event.args.empty()) - { - const std::string op = event.args.substr(0, 1); - if (op == "n") - outfitWindow->wearNextOutfit(true); - else if (op == "p") - outfitWindow->wearPreviousOutfit(true); - else - outfitWindow->wearOutfit(atoi(event.args.c_str()) - 1, false, true); - } - else - { - outfitWindow->wearOutfit(atoi(event.args.c_str()) - 1, false, true); - } - return true; - } - return false; -} - impHandler(emote) { if (localPlayer) |