summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-28 00:46:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-28 00:46:28 +0300
commit9512b66c09f182b416bdc0107dd871856f8f70d3 (patch)
tree10a45fb89f4bb0296296918af3d56fa0db0c91e3 /src/input
parent0c6cc36b806f1ef2cb75b650ed93210d446e3af6 (diff)
downloadmanaverse-9512b66c09f182b416bdc0107dd871856f8f70d3.tar.gz
manaverse-9512b66c09f182b416bdc0107dd871856f8f70d3.tar.bz2
manaverse-9512b66c09f182b416bdc0107dd871856f8f70d3.tar.xz
manaverse-9512b66c09f182b416bdc0107dd871856f8f70d3.zip
In SDL2 build, prevent screenshot action if input field active.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyboarddata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index 0eddaa6b3..779fcd2ac 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -196,7 +196,7 @@ static const KeyData keyData[InputAction::TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::screenshot,
InputAction::NO_VALUE, 50,
- InputCondition::NOTARGET},
+ InputCondition::NOTARGET | InputCondition::NOINPUT},
{"keyTrade",
InputType::KEYBOARD, SDLK_r,
InputType::UNKNOWN, InputAction::NO_VALUE,