diff --git a/source/common/console/c_bind.cpp b/source/common/console/c_bind.cpp index 368fb335d..459c6b08a 100644 --- a/source/common/console/c_bind.cpp +++ b/source/common/console/c_bind.cpp @@ -703,12 +703,10 @@ void C_BindDefaults() CONFIG_SetDefaultKeys(cl_defaultconfiguration == 1 ? "engine/origbinds.txt" : cl_defaultconfiguration == 2 ? "engine/leftbinds.txt" : "engine/defbinds.txt"); } -#if 0 CCMD(binddefaults) { C_BindDefaults(); } -#endif void C_SetDefaultBindings() { diff --git a/source/common/gameconfigfile.cpp b/source/common/gameconfigfile.cpp index 3868cdfce..64bb2b221 100644 --- a/source/common/gameconfigfile.cpp +++ b/source/common/gameconfigfile.cpp @@ -319,7 +319,7 @@ void FGameConfigFile::DoKeySetup(const char *gamename) subsection = section + countof(section) - sublen - 1; section[countof(section) - 1] = '\0'; - //C_SetDefaultBindings (); + C_SetDefaultBindings (); const char* key, * value; for (int i = 0; binders[i].label != NULL; ++i) diff --git a/source/common/gamecontrol.cpp b/source/common/gamecontrol.cpp index e0c5f56d3..91a36d605 100644 --- a/source/common/gamecontrol.cpp +++ b/source/common/gamecontrol.cpp @@ -589,7 +589,6 @@ int RunGame() TileFiles.AddArt(addArt); inputState.ClearAllInput(); - CONFIG_SetDefaultKeys(cl_defaultconfiguration == 1 ? "engine/origbinds.txt" : cl_defaultconfiguration == 2 ? "engine/leftbinds.txt" : "engine/defbinds.txt"); if (!GameConfig->IsInitialized()) {