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

Method DoBind

source/common/console/c_bind.cpp:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318//=============================================================================
319
320void FKeyBindings::DoBind (const char *key, const char *bind)
321{
322 int keynum = GetConfigKeyFromName (key);
323 if (keynum != 0)
324 {
325 Binds[keynum] = bind;
326 }
327}
328
329//=============================================================================
330//

Callers 1

DoKeySetupMethod · 0.80

Calls 1

GetConfigKeyFromNameFunction · 0.85

Tested by

no test coverage detected