1
0

Fixed reported parentheses around comparisons.

This commit is contained in:
Mattes D
2014-12-05 12:56:53 +01:00
parent ad13a80d14
commit 44644ae025
14 changed files with 99 additions and 83 deletions

View File

@@ -71,7 +71,7 @@ void cSkeleton::Attack(float a_Dt)
{
m_AttackInterval += a_Dt * m_AttackRate;
if (m_Target != nullptr && m_AttackInterval > 3.0)
if ((m_Target != nullptr) && (m_AttackInterval > 3.0))
{
// Setting this higher gives us more wiggle room for attackrate
Vector3d Speed = GetLookVector() * 20;