diff options
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 4 | ||||
-rw-r--r-- | src/progs/manaplus/actions/move.cpp | 4 |
2 files changed, 5 insertions, 3 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; diff --git a/src/progs/manaplus/actions/move.cpp b/src/progs/manaplus/actions/move.cpp index ea4088f61..d7c73eb1f 100644 --- a/src/progs/manaplus/actions/move.cpp +++ b/src/progs/manaplus/actions/move.cpp @@ -104,7 +104,7 @@ impHandler(moveLeft) if (outfitWindow != nullptr && inputManager.isActionActive(InputAction::WEAR_OUTFIT)) { - outfitWindow->wearPreviousOutfit(); + outfitWindow->wearPreviousOutfit(false); if (Game::instance() != nullptr) Game::instance()->setValidSpeed(); return true; @@ -125,7 +125,7 @@ impHandler(moveRight) if (outfitWindow != nullptr && inputManager.isActionActive(InputAction::WEAR_OUTFIT)) { - outfitWindow->wearNextOutfit(); + outfitWindow->wearNextOutfit(false); if (Game::instance() != nullptr) Game::instance()->setValidSpeed(); return true; |