MCPcopy Create free account
hub / github.com/ZDoom/Raze / UnbindKey

Method UnbindKey

source/common/console/c_bind.cpp:349–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347//=============================================================================
348
349void FKeyBindings::UnbindKey(const char *key)
350{
351 int i;
352
353 if ( (i = GetKeyFromName (key)) )
354 {
355 Binds[i] = "";
356 }
357 else
358 {
359 Printf ("Unknown key \"%s\"\n", key);
360 return;
361 }
362}
363
364//=============================================================================
365//

Callers 2

CCMDFunction · 0.80
ReadBindingsFunction · 0.80

Calls 2

GetKeyFromNameFunction · 0.85
PrintfFunction · 0.85

Tested by

no test coverage detected