diff --git a/source/common/console/c_bind.cpp b/source/common/console/c_bind.cpp index 1aad2d255..fa94d1e72 100644 --- a/source/common/console/c_bind.cpp +++ b/source/common/console/c_bind.cpp @@ -696,6 +696,12 @@ void ReadBindings(int lump, bool override) dest = &AutomapBindings; sc.MustGetString(); } + else if (sc.Compare("unbind")) + { + sc.MustGetString(); + dest->UnbindKey(sc.String); + continue; + } key = GetConfigKeyFromName(sc.String); sc.MustGetString(); dest->SetBind(key, sc.String, override); diff --git a/wadsrc/static/filter/blood/engine/origbinds.txt b/wadsrc/static/filter/blood/engine/origbinds.txt index 85f93e3dc..e13f235d1 100644 --- a/wadsrc/static/filter/blood/engine/origbinds.txt +++ b/wadsrc/static/filter/blood/engine/origbinds.txt @@ -8,3 +8,8 @@ X "+Alt_Fire" J "useitem 4" M "useitem 1" Mouse2 "+Alt_Fire" + +unbind KP0 +unbind KP. +unbind DEL +unbind INS