diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-21 22:54:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-21 22:54:55 +0300 |
commit | 89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (patch) | |
tree | b95f6dbb5277b46c4be7d7d58cb8ed0521500e10 /src/input/inputmanager.cpp | |
parent | 9e07606afcbb35842fa5472e5ac04dbae6b9e5ca (diff) | |
download | manaverse-89b267d6d73bbc59f7c313b8a22b97fbb27f99a8.tar.gz manaverse-89b267d6d73bbc59f7c313b8a22b97fbb27f99a8.tar.bz2 manaverse-89b267d6d73bbc59f7c313b8a22b97fbb27f99a8.tar.xz manaverse-89b267d6d73bbc59f7c313b8a22b97fbb27f99a8.zip |
Fix reading all assigned keys for actions.
Before was issue if second or third not set was used default value.
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r-- | src/input/inputmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index bf4433339..d07522146 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -177,6 +177,8 @@ void InputManager::retrieve() restrict2 i2 ++; } } + for (; i2 < inputFunctionSize; i2 ++) + kf.values[i2] = InputItem(); } updateKeyString(kf, i); } |