diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/viewport.cpp | 7 | ||||
-rw-r--r-- | src/gui/windows/buyingstoreselldialog.h | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 4592d5e69..fa29590f4 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -413,7 +413,8 @@ bool Viewport::openContextMenu(const MouseEvent &event) bool Viewport::leftMouseAction() { - const bool stopAttack = inputManager.isActionActive(InputAction::STOP_ATTACK); + const bool stopAttack = inputManager.isActionActive( + InputAction::STOP_ATTACK); // Interact with some being if (mHoverBeing) { @@ -441,7 +442,9 @@ bool Viewport::leftMouseAction() return true; } } - else if (!stopAttack && (type == ActorType::Monster || type == ActorType::Npc)) + else if (!stopAttack && + (type == ActorType::Monster || + type == ActorType::Npc)) { if ((localPlayer->withinAttackRange(mHoverBeing) || inputManager.isActionActive(static_cast<int>( diff --git a/src/gui/windows/buyingstoreselldialog.h b/src/gui/windows/buyingstoreselldialog.h index 39b45a127..9fb40cba0 100644 --- a/src/gui/windows/buyingstoreselldialog.h +++ b/src/gui/windows/buyingstoreselldialog.h @@ -42,8 +42,8 @@ class BuyingStoreSellDialog final : public SellDialog * * @see Window::Window */ - explicit BuyingStoreSellDialog(const int accountId, - const int storeId); + BuyingStoreSellDialog(const int accountId, + const int storeId); A_DELETE_COPY(BuyingStoreSellDialog) |