summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 19:37:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 19:37:38 +0300
commit5fc7ef5ed9394e613341cd4f98d908bb8483b2fd (patch)
tree46023a9726d2aee0f65d01f1d93bea78799a1036 /src/progs/manaplus/actions/actions.cpp
parent4aaa299b111d07d7e4425e60a888e8496b9da5c1 (diff)
downloadmv-5fc7ef5ed9394e613341cd4f98d908bb8483b2fd.tar.gz
mv-5fc7ef5ed9394e613341cd4f98d908bb8483b2fd.tar.bz2
mv-5fc7ef5ed9394e613341cd4f98d908bb8483b2fd.tar.xz
mv-5fc7ef5ed9394e613341cd4f98d908bb8483b2fd.zip
Remove default parameters from outfitswindow.
Diffstat (limited to 'src/progs/manaplus/actions/actions.cpp')
-rw-r--r--src/progs/manaplus/actions/actions.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 64512517b..715192bf9 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -345,7 +345,9 @@ impHandler(outfit)
const int num = event.action - InputAction::OUTFIT_1;
if ((outfitWindow != nullptr) && num >= 0)
{
- outfitWindow->wearOutfit(num);
+ outfitWindow->wearOutfit(num,
+ true,
+ false);
if (Game::instance() != nullptr)
Game::instance()->setValidSpeed();
return true;