From ea50b249bb551a4c0c75fcb90aebfa064527266d Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sat, 7 Oct 2023 19:32:25 +0800 Subject: [PATCH] fix rndbot stuck bug --- src/PlayerbotAI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index 2b107e3d..50f81aac 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -212,9 +212,9 @@ void PlayerbotAI::UpdateAI(uint32 elapsed, bool minimal) // } return; } - if (!GetMaster() || !GetMaster()->IsInWorld() || !GetMaster()->GetSession() || GetMaster()->GetSession()->isLogingOut()) { - return; - } + // if (!GetMaster() || !GetMaster()->IsInWorld() || !GetMaster()->GetSession() || GetMaster()->GetSession()->isLogingOut()) { + // return; + // } // if (bot->HasUnitMovementFlag(MOVEMENTFLAG_FALLING)) { // bot->Say("Falling!", LANG_UNIVERSAL); // }