diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 19:47:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 19:47:29 +0300 |
commit | a02e2ba72702226cc25b245cc0e2615ead279cee (patch) | |
tree | f4bbc296e42ac0543aecba573123bb1f45ccb0f8 /src/actions | |
parent | cd8ef301f4796f15390d02d866ad88423b2d8d16 (diff) | |
download | plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.gz plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.bz2 plus-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.xz plus-a02e2ba72702226cc25b245cc0e2615ead279cee.zip |
Add chat command for clear current outfit.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 9 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
2 files changed, 10 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) diff --git a/src/actions/commands.h b/src/actions/commands.h index 6c2c6cc9d..0b6f0cf30 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -153,6 +153,7 @@ namespace Actions decHandler(partyExpShare); decHandler(partyAutoItemShare); decHandler(outfitToChat); + decHandler(outfitClear); decHandler(moveAttackUp); decHandler(moveAttackDown); decHandler(movePriorityAttackUp); |