mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
keys.c:Key_WriteBindings(): Clear old bindings before setting new ones.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@715 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
d132845085
commit
30b7d757ca
1 changed files with 2 additions and 0 deletions
|
@ -661,6 +661,8 @@ void Key_WriteBindings (FILE *f)
|
|||
{
|
||||
int i;
|
||||
|
||||
fprintf (f, "unbindall\n");
|
||||
|
||||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
if (keybindings[i] && *keybindings[i])
|
||||
|
|
Loading…
Reference in a new issue