From ee7eb4214acd3559f562287dde6f13afea9f2587 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 16 Jun 2020 16:37:27 +0000 Subject: [PATCH] Prepend unbindall to config.cfg to override default.cfg binds The engine will now respect the user's binds, even if they're all blank. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12685 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keys.c b/keys.c index 76586635..e78a1c12 100644 --- a/keys.c +++ b/keys.c @@ -1641,6 +1641,9 @@ Key_WriteBindings (qfile_t *f) char tinystr[2]; const char *p; + // Override default binds + FS_Printf(f, "unbindall\n"); + for (j = 0; j < MAX_BINDMAPS; j++) { for (i = 0; i < (int)(sizeof(keybindings[0])/sizeof(keybindings[0][0])); i++) -- 2.39.2