no message

This commit is contained in:
BADIM-PC\Vadim 2018-02-15 14:28:34 +03:00
parent 4835fb098c
commit 05e1e78115
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ static void processGamepadMapping()
tic_mem* tic = impl.studio.tic;
for(s32 i = 0; i < KEYMAP_COUNT; i++)
if(tic->api.key(tic, impl.keycodes[i]))
if(impl.keycodes[i] && tic->api.key(tic, impl.keycodes[i]))
tic->ram.input.gamepads.data |= 1 << i;
}