MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SolveActionCollisions

Function SolveActionCollisions

TombEngine/Specific/Input/Input.cpp:566–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564 }
565
566 void SolveActionCollisions()
567 {
568 // Block simultaneous Left+Right actions.
569 if (IsHeld(In::Left) && IsHeld(In::Right))
570 {
571 ClearAction(In::Left);
572 ClearAction(In::Right);
573 }
574 }
575
576 static void HandleHotkeyActions()
577 {

Callers 1

UpdateInputActionsFunction · 0.85

Calls 2

IsHeldFunction · 0.85
ClearActionFunction · 0.85

Tested by

no test coverage detected