From ba6a4a229ff9b1434f7140e4153f42b13339ed81 Mon Sep 17 00:00:00 2001 From: whipowill Date: Fri, 20 May 2022 13:09:39 -0500 Subject: [PATCH] Compile bug fixes. --- src/PlayerbotAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index cb6c91cb..a4148eb1 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -999,7 +999,7 @@ void PlayerbotAI::DoNextAction(bool min) bot->m_movementInfo.RemoveMovementFlag(MOVEMENTFLAG_PENDING_STOP); // set jump destination - bot->m_movementInfo.pos = GetJumpDestination().m_positionZ != 0 ? GetJumpDestination() : bot->GetPosition(); + bot->m_movementInfo.pos = !GetJumpDestination().m_positionZ == 0 ? GetJumpDestination() : bot->GetPosition(); bot->m_movementInfo.jump = MovementInfo::JumpInfo(); WorldPacket land(MSG_MOVE_FALL_LAND);