mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
fix rndbot stuck bug
This commit is contained in:
parent
844a0e36d2
commit
ea50b249bb
@ -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);
|
||||||
// }
|
// }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user