mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix errors on wrong command
This commit is contained in:
@@ -9,6 +9,10 @@ PlayerbotAIBase::PlayerbotAIBase(bool isBotAI) : nextAICheckDelay(0), _isBotAI(i
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PlayerbotAIBase::UpdateAIInternal(uint32 elapsed, bool minimal)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void PlayerbotAIBase::UpdateAI(uint32 elapsed, bool minimal)
|
void PlayerbotAIBase::UpdateAI(uint32 elapsed, bool minimal)
|
||||||
{
|
{
|
||||||
if (nextAICheckDelay > elapsed)
|
if (nextAICheckDelay > elapsed)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class PlayerbotAIBase
|
|||||||
void IncreaseNextCheckDelay(uint32 delay);
|
void IncreaseNextCheckDelay(uint32 delay);
|
||||||
void YieldThread(bool delay = false);
|
void YieldThread(bool delay = false);
|
||||||
virtual void UpdateAI(uint32 elapsed, bool minimal = false);
|
virtual void UpdateAI(uint32 elapsed, bool minimal = false);
|
||||||
virtual void UpdateAIInternal(uint32 elapsed, bool minimal = false) = 0;
|
virtual void UpdateAIInternal(uint32 elapsed, bool minimal = false);
|
||||||
bool IsActive();
|
bool IsActive();
|
||||||
bool IsBotAI() const;
|
bool IsBotAI() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user