diff options
| author | Shauren <shauren.trinity@gmail.com> | 2016-07-06 10:29:33 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-06 10:29:33 +0200 | 
| commit | e0cc650ea9339996b2b408f8168f6588bd088e42 (patch) | |
| tree | 3ff552c0cca87ab18e46599ee525d47b11cbcac4 /src | |
| parent | fcffdc38a7366042d472c93a9bec864992b0f195 (diff) | |
And another typo fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Movement/PathGenerator.cpp | 2 | 
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;  } | 
