Moved viewoffset adjustement to shared code

This commit is contained in:
Kamay Xutax 2024-08-23 18:29:51 +02:00
parent 340eeb7e03
commit bef50ed5ce

View file

@ -366,7 +366,6 @@ void CCSGameMovement::PlayerMove()
m_pCSPlayer->m_flVelocityModifier = 1.0; m_pCSPlayer->m_flVelocityModifier = 1.0;
} }
#if !defined(CLIENT_DLL)
if ( m_pCSPlayer->IsAlive() ) if ( m_pCSPlayer->IsAlive() )
{ {
// Check if our eye height is too close to the ceiling and lower it. // Check if our eye height is too close to the ceiling and lower it.
@ -434,7 +433,6 @@ void CCSGameMovement::PlayerMove()
} }
} }
} }
#endif
} }