From 4d9a0b2cc3eea9d92323183e976ab968fe2986ba Mon Sep 17 00:00:00 2001 From: s1lentq Date: Mon, 1 Feb 2016 15:32:32 +0600 Subject: [PATCH] Fix: Bug with camera (not reset the speed) --- regamedll/dlls/triggers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/regamedll/dlls/triggers.cpp b/regamedll/dlls/triggers.cpp index 9cbc4710..50cb14a7 100644 --- a/regamedll/dlls/triggers.cpp +++ b/regamedll/dlls/triggers.cpp @@ -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);