aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-07-06 10:29:33 +0200
committerGitHub <noreply@github.com>2016-07-06 10:29:33 +0200
commite0cc650ea9339996b2b408f8168f6588bd088e42 (patch)
tree3ff552c0cca87ab18e46599ee525d47b11cbcac4 /src
parentfcffdc38a7366042d472c93a9bec864992b0f195 (diff)
And another typo fix
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Movement/PathGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Movement/PathGenerator.cpp b/src/server/game/Movement/PathGenerator.cpp
index 0cec5a1a541..3f8e7d44ff2 100644
--- a/src/server/game/Movement/PathGenerator.cpp
+++ b/src/server/game/Movement/PathGenerator.cpp
@@ -945,5 +945,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;
}