1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 06:24:32 +00:00

Unstick highlight in input config

This commit is contained in:
fgenesis 2017-04-04 19:27:53 +02:00
parent 08a884b375
commit acb515b738
2 changed files with 9 additions and 1 deletions

View file

@ -771,6 +771,7 @@ bool Core::getMouseButtonState(int m)
bool Core::getKeyState(int k)
{
assert(k < KEY_MAXARRAY);
return k > 0 && k < KEY_MAXARRAY ? keys[k] : 0;
}