Fix: Bug with camera (not reset the speed)

This commit is contained in:
s1lentq 2016-02-01 15:32:32 +06:00
parent ae4ec28fad
commit 4d9a0b2cc3

View File

@ -2272,6 +2272,7 @@ void CTriggerCamera::FollowTarget(void)
{
SET_VIEW(m_hPlayer->edict(), m_hPlayer->edict());
((CBasePlayer *)m_hPlayer)->EnableControl(TRUE);
((CBasePlayer *)m_hPlayer)->ResetMaxSpeed();
}
SUB_UseTargets(this, USE_TOGGLE, 0);