- fixed keybinding reader - before trying to load DEFBINDS the lump index wasn't reset.

This commit is contained in:
Christoph Oelckers 2020-04-19 13:23:02 +02:00
parent 90f3b49bc3
commit 5228a67ff5

View file

@ -720,6 +720,7 @@ void C_SetDefaultKeys(const char* baseconfig)
ReadBindings(lump, true); ReadBindings(lump, true);
} }
lastlump = 0;
while ((lump = fileSystem.FindLump("DEFBINDS", &lastlump)) != -1) while ((lump = fileSystem.FindLump("DEFBINDS", &lastlump)) != -1)
{ {
ReadBindings(lump, false); ReadBindings(lump, false);