And another typo fix

This commit is contained in:
Shauren
2016-07-06 10:29:33 +02:00
committed by Aokromes
parent 6e755d05d8
commit 00cc84a51d

View File

@@ -943,5 +943,5 @@ void PathGenerator::ReducePathLenghtByDist(float dist)
bool PathGenerator::IsInvalidDestinationZ(Unit const* target) const
{
(target->GetPositionZ() - GetActualEndPosition().z) > 5.0f;
return (target->GetPositionZ() - GetActualEndPosition().z) > 5.0f;
}