void KeyControlledTransitionCharacter_cl::ThinkFunction() { if (IsObjectFlagSet(VObjectFlag_IsNetworkReplica)) { SetThinkFunctionStatus(FALSE); m_bKeyboardInputAllowed = false; return; } ProcessKeyboardEvents(); TransitionCharacter_cl::ThinkFunction(); }
void VFreeCamera::DeInitFunction() { VisBaseEntity_cl::DeInitFunction(); // Deregister from callbacks. SetThinkFunctionStatus(FALSE); V_SAFE_DELETE(m_pInputMap); ClearWASDAlternativeIndices(); #if defined(SUPPORTS_MULTITOUCH) if (m_pVirtualThumbStick != NULL) { delete m_pVirtualThumbStick; m_pVirtualThumbStick = NULL; Vision::Callbacks.OnVideoChanged -= this; } m_spLookTouchArea = NULL; #endif }