diff -r 64aba90811a2 -r 6369d148cfff hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Sat Feb 24 15:24:36 2018 +0100 +++ b/hedgewars/uTypes.pas Sun Feb 25 18:57:30 2018 +0100 @@ -349,7 +349,13 @@ TeamDamage : Longword; end; - TBinds = array[0..cKbdMaxIndex] of shortstring; + TBinds = record + indices: array[0..cKbdMaxIndex] of byte; + // zeroth element is reserved, indices[i] == 0 means no binding + binds: array[0..255] of shortstring; + lastIndex: byte; + end; + TKeyboardState = array[0..cKeyMaxIndex] of Byte; PVoicepack = ^TVoicepack;