mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
fix rndbot stuck bug
This commit is contained in:
@@ -212,9 +212,9 @@ void PlayerbotAI::UpdateAI(uint32 elapsed, bool minimal)
|
|||||||
// }
|
// }
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!GetMaster() || !GetMaster()->IsInWorld() || !GetMaster()->GetSession() || GetMaster()->GetSession()->isLogingOut()) {
|
// if (!GetMaster() || !GetMaster()->IsInWorld() || !GetMaster()->GetSession() || GetMaster()->GetSession()->isLogingOut()) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
// if (bot->HasUnitMovementFlag(MOVEMENTFLAG_FALLING)) {
|
// if (bot->HasUnitMovementFlag(MOVEMENTFLAG_FALLING)) {
|
||||||
// bot->Say("Falling!", LANG_UNIVERSAL);
|
// bot->Say("Falling!", LANG_UNIVERSAL);
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user