summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-07 01:16:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-07 01:16:49 +0300
commit549acdcf100650952a9a3926dc8c34da752adfa9 (patch)
treee62b85d1e7e33766603ae249af511f4d99739b91 /src/input
parent2bca0787182eb1637cd82fc246bc19578e90ca09 (diff)
downloadmv-549acdcf100650952a9a3926dc8c34da752adfa9.tar.gz
mv-549acdcf100650952a9a3926dc8c34da752adfa9.tar.bz2
mv-549acdcf100650952a9a3926dc8c34da752adfa9.tar.xz
mv-549acdcf100650952a9a3926dc8c34da752adfa9.zip
Remove npcpostdialog.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 677b008c1..35272f6e8 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -48,7 +48,6 @@
#include "gui/windows/chatwindow.h"
#include "gui/windows/inventorywindow.h"
#include "gui/windows/npcdialog.h"
-#include "gui/windows/npcpostdialog.h"
#include "gui/windows/setupwindow.h"
#include "gui/windows/textdialog.h"
#include "gui/windows/tradewindow.h"
@@ -548,8 +547,7 @@ bool InputManager::handleEvent(const SDL_Event &event)
keyboard.handleActicateKey(event);
// send straight to gui for certain windows
- if (quitDialog || TextDialog::isActive() ||
- NpcPostDialog::isActive())
+ if (quitDialog || TextDialog::isActive())
{
if (guiInput)
guiInput->pushInput(event);