Source 2007 Template Fixes

From Valve Developer Community
Revision as of 21:25, 13 June 2011 by DaFox (talk | contribs) (Created page with 'This is a collection of fixes that only effect the Source 2007 Template. === Fix laggy movement when Sprinting is disabled. === Apply this patch to game/shared/sdk/sdk_gamemovem…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a collection of fixes that only effect the Source 2007 Template.

Fix laggy movement when Sprinting is disabled.

Apply this patch to game/shared/sdk/sdk_gamemovement.cpp

@@ -124,7 +123,7 @@
 			else
 #endif // SDK_USE_SPRINTING
 			{
-				flMaxSpeed = m_pSDKPlayer->m_Shared.m_flRunSpeed;	//jogging
+				flMaxSpeed = m_pSDKPlayer->m_Shared.m_flSprintSpeed;	//jogging
 			}
 
 			mv->m_flClientMaxSpeed = flMaxSpeed - 100 + stamina;