Minor code and compiler warning fixes.

This commit is contained in:
KayenEQ
2014-11-02 20:14:44 -05:00
parent c9073b10a1
commit d754e24a02
5 changed files with 44 additions and 26 deletions
+1 -1
View File
@@ -881,7 +881,7 @@ bool Mob::CombatRange(Mob* other)
float max_dist = static_cast<float>(GetSpecialAbilityParam(NPC_CHASE_DISTANCE, 0));
float min_dist = static_cast<float>(GetSpecialAbilityParam(NPC_CHASE_DISTANCE, 1));
if (GetSpecialAbilityParam(NPC_CHASE_DISTANCE, 2));
if (GetSpecialAbilityParam(NPC_CHASE_DISTANCE, 2))
DoLoSCheck = false; //Ignore line of sight check
if (max_dist == 1)