MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / disable_input

Function disable_input

ogsr_engine/xrGame/level_script.cpp:507–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505extern bool g_bDisableAllInput;
506
507void disable_input()
508{
509 g_bDisableAllInput = true;
510 if (Actor())
511 Actor()->PickupModeOff();
512}
513void enable_input()
514{
515 g_bDisableAllInput = false;

Callers

nothing calls this directly

Calls 2

ActorFunction · 0.85
PickupModeOffMethod · 0.80

Tested by

no test coverage detected