MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / resetKeyStates

Method resetKeyStates

src/logic/NpcAIHandler.cpp:420–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void NpcAIHandler::resetKeyStates()
421{
422 m_MovementState.isStrafeLeft = false;
423 m_MovementState.isStrafeRight = false;
424 m_MovementState.isForward = false;
425 m_MovementState.isBackward = false;
426 m_MovementState.isTurnLeft = false;
427 m_MovementState.isTurnRight = false;
428 m_MovementState.isLastWeaponKey = false;
429 m_MovementState.isAction = false;
430 //MoveSpeed1 = false;
431 //MoveSpeed2 = false;
432}
433
434PlayerController& NpcAIHandler::getController() const
435{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected