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/commands.cpp | |
parent | cd8ef301f4796f15390d02d866ad88423b2d8d16 (diff) | |
download | ManaVerse-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.gz ManaVerse-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.bz2 ManaVerse-a02e2ba72702226cc25b245cc0e2615ead279cee.tar.xz ManaVerse-a02e2ba72702226cc25b245cc0e2615ead279cee.zip |
Add chat command for clear current outfit.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 9 |
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) |