From a5ae9522f3db68b879eb8fa94d88e2614d7a7851 Mon Sep 17 00:00:00 2001 From: Treeston Date: Mon, 2 Apr 2018 00:48:08 +0200 Subject: travis fix, ebc96af follow-up (cherry picked from commit e350cfc4374f7f2a1170b2c287a24d0461207dbd) --- .../game/Movement/MovementGenerators/TargetedMovementGenerator.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp index 396f42e7791..33b5afc91a3 100755 --- a/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp @@ -124,7 +124,6 @@ void TargetedMovementGenerator::SetTargetLocation(T* owner, bool updateDes float x, y, z; if (updateDestination || !_path) { - float hoverDiff = std::abs(owner->GetHoverOffset() - GetTarget()->GetHoverOffset()); if (!_offset) { if (GetTarget()->IsWithinDistInMap(owner, CONTACT_DISTANCE)) -- cgit v1.2.3