- Blood: disable look left and look right in the classic key configuration.

This commit is contained in:
Christoph Oelckers 2021-04-06 12:06:03 +02:00
parent fc314b6616
commit cbe25d9d6b
2 changed files with 11 additions and 0 deletions

View file

@ -696,6 +696,12 @@ void ReadBindings(int lump, bool override)
dest = &AutomapBindings; dest = &AutomapBindings;
sc.MustGetString(); sc.MustGetString();
} }
else if (sc.Compare("unbind"))
{
sc.MustGetString();
dest->UnbindKey(sc.String);
continue;
}
key = GetConfigKeyFromName(sc.String); key = GetConfigKeyFromName(sc.String);
sc.MustGetString(); sc.MustGetString();
dest->SetBind(key, sc.String, override); dest->SetBind(key, sc.String, override);

View file

@ -8,3 +8,8 @@ X "+Alt_Fire"
J "useitem 4" J "useitem 4"
M "useitem 1" M "useitem 1"
Mouse2 "+Alt_Fire" Mouse2 "+Alt_Fire"
unbind KP0
unbind KP.
unbind DEL
unbind INS