Browse Source

shadowvar cleanup

Azaezel 7 years ago
parent
commit
248c5e9e69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/T3D/gameBase/gameBase.cpp

+ 1 - 1
Engine/source/T3D/gameBase/gameBase.cpp

@@ -455,7 +455,7 @@ F32 GameBase::getUpdatePriority(CameraScopeQuery *camInfo, U32 updateMask, S32 u
       // Projectiles are more interesting if they
       // are heading for us.
       wInterest = 0.30f;
-      F32 dot = -mDot(pos,getVelocity());
+      dot = -mDot(pos,getVelocity());
       if (dot > 0.0f)
          wInterest += 0.20 * dot;
    }