Skip to content

Commit 19cc111

Browse files
committed
fix build
1 parent 9c34b3f commit 19cc111

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

playerbot/strategy/actions/MovementActions.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2840,6 +2840,11 @@ WorldPosition JumpAction::CalculateJumpParameters(const WorldPosition& src, Unit
28402840
// reduce landing height by collision height
28412841
float fz_mod = fz - CONTACT_DISTANCE - jumper->GetCollisionHeight();
28422842
jumper->GetMap()->GetHitPosition(fx, fy, fz, fx, fy, fz_mod, -0.5f);
2843+
#ifdef MANGOSBOT_TWO
2844+
jumper->GetMap()->GetHitPosition(fx, fy, fz, fx, fy, fz_mod, jumper->GetPhaseMask(), -0.5f);
2845+
#else
2846+
jumper->GetMap()->GetHitPosition(fx, fy, fz, fx, fy, fz_mod, -0.5f);
2847+
#endif
28432848
}
28442849

28452850
WorldPosition destination = WorldPosition(src.getMapId(), fx, fy ,fz);

0 commit comments

Comments
 (0)