summaryrefslogtreecommitdiff
path: root/src/game.cpp
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 /src/game.cpp
parent29cebdd46bebbc6371bf0831ca1c9e307d23e4dd (diff)
downloadmv-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.tar.gz
mv-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.tar.bz2
mv-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.tar.xz
mv-e960fdb61ed728cd5e8f2f716ebe68ed44a593bb.zip
Fix blocking some chars in inventory/storage input box.
Diffstat (limited to 'src/game.cpp')
-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))
{