mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Fix: Bug with camera (not reset the speed)
This commit is contained in:
parent
ae4ec28fad
commit
4d9a0b2cc3
@ -2272,6 +2272,7 @@ void CTriggerCamera::FollowTarget(void)
|
|||||||
{
|
{
|
||||||
SET_VIEW(m_hPlayer->edict(), m_hPlayer->edict());
|
SET_VIEW(m_hPlayer->edict(), m_hPlayer->edict());
|
||||||
((CBasePlayer *)m_hPlayer)->EnableControl(TRUE);
|
((CBasePlayer *)m_hPlayer)->EnableControl(TRUE);
|
||||||
|
((CBasePlayer *)m_hPlayer)->ResetMaxSpeed();
|
||||||
}
|
}
|
||||||
|
|
||||||
SUB_UseTargets(this, USE_TOGGLE, 0);
|
SUB_UseTargets(this, USE_TOGGLE, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user