diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 5b1c1455e..51d9cab9c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -59,6 +59,8 @@ #include "gui/fonts/font.h" +#include "gui/popups/popupmenu.h" + #include "gui/windows/bankwindow.h" #include "gui/windows/botcheckerwindow.h" #include "gui/windows/chatwindow.h" @@ -809,7 +811,8 @@ void Game::handleMove() && chatWindow && !chatWindow->isInputFocused() && !InventoryWindow::isAnyInputFocused() - && !quitDialog) + && !quitDialog + && !popupMenu->isPopupVisible()) { NpcDialog *const dialog = NpcDialog::getActive(); if (dialog) |