This commit is contained in:
Riley Labrecque
2020-01-05 13:32:14 -08:00
parent 1604157f70
commit 374a8762c6
94 changed files with 1035 additions and 700 deletions
+1 -1
View File
@@ -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 )
{