summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 19:47:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 19:47:29 +0300
commita02e2ba72702226cc25b245cc0e2615ead279cee (patch)
treef4bbc296e42ac0543aecba573123bb1f45ccb0f8 /src/actions/commands.cpp
parentcd8ef301f4796f15390d02d866ad88423b2d8d16 (diff)
downloadmv-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.gz
mv-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.bz2
mv-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.xz
mv-a02e2ba72702226cc25b245cc0e2615ead279cee.zip
Add chat command for clear current outfit.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 71dd2e7b4..ae50680fb 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1895,6 +1895,15 @@ impHandler0(outfitToChat)
return true;
}
+impHandler0(outfitClear)
+{
+ if (!outfitWindow)
+ return false;
+
+ outfitWindow->clearCurrentOutfit();
+ return true;
+}
+
impHandler(moveAttackUp)
{
if (!actorManager)