mirror of
https://github.com/rlabrecque/SteamworksSDK.git
synced 2026-10-10 09:33:04 +08:00
v1.45
This commit is contained in:
@@ -134,7 +134,7 @@ void CVectorEntity::RunFrame()
|
||||
|
||||
// Make sure velocity does not exceed maximum allowed
|
||||
|
||||
float flVelocity = sqrt( m_flXVelocity*m_flXVelocity + m_flYVelocity*m_flYVelocity );
|
||||
float flVelocity = (float)sqrt( m_flXVelocity*m_flXVelocity + m_flYVelocity*m_flYVelocity );
|
||||
|
||||
if ( flVelocity > m_flMaximumVelocity )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user