mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-18 00:34:08 +00:00
85959bb073
if( !unified[(*itKey)-UNIFIED_SHIFT] ) accept = false; This was causing an index out of bounds when the key at *itKey was AND'ed with the HOTKEY_NEGATION_MASK and thus became greater than 65536 and way out of bounds of the array. For now I added a check that *itKey < HOTKEY_NEGATION_MASK, but maybe this is not the intended usage. This was SVN commit r4111.