mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix errors on wrong command
This commit is contained in:
parent
8523079c35
commit
cbf17c3eb9
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user