mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 16:41:22 +00:00
keys.c:Key_WriteBindings(): Clear old bindings before setting new ones.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@715 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
18ac8f24d2
commit
52b01aedc9
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