summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-16 01:43:23 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-16 01:43:23 +0300
commite960fdb61ed728cd5e8f2f716ebe68ed44a593bb (patch)
tree67ff42ebd9a414693707d23f4345c1bdb323fc5c
parent29cebdd46bebbc6371bf0831ca1c9e307d23e4dd (diff)
downloadplus-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.tar.gz
plus-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.tar.bz2
plus-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.tar.xz
plus-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.zip
Fix blocking some chars in inventory/storage input box.
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index c7c50dd9c..9245e213d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1092,6 +1092,7 @@ bool Game::handleSwitchKeys(SDL_Event &event, bool &used)
gcn::Window *requestedWindow = nullptr;
if (!NpcDialog::isAnyInputFocused()
+ && !InventoryWindow::isAnyInputFocused()
&& !keyboard.isKeyActive(keyboard.KEY_TARGET)
&& !keyboard.isKeyActive(keyboard.KEY_UNTARGET))
{