From 5228a67ff584929c8f7a3a65ba0838335ae6744b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 19 Apr 2020 13:23:02 +0200 Subject: [PATCH] - fixed keybinding reader - before trying to load DEFBINDS the lump index wasn't reset. --- src/common/console/c_bind.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/console/c_bind.cpp b/src/common/console/c_bind.cpp index f4802b1e5..609f2bf86 100644 --- a/src/common/console/c_bind.cpp +++ b/src/common/console/c_bind.cpp @@ -720,6 +720,7 @@ void C_SetDefaultKeys(const char* baseconfig) ReadBindings(lump, true); } + lastlump = 0; while ((lump = fileSystem.FindLump("DEFBINDS", &lastlump)) != -1) { ReadBindings(lump, false);