feat(Core/WorldObjects): implement Heartbeat timers (#20872)
This commit is contained in:
parent
993bdcb84e
commit
a4e2b1d743
5 changed files with 26 additions and 10 deletions
|
|
@ -446,6 +446,8 @@ bool GameObject::Create(ObjectGuid::LowType guidlow, uint32 name_id, Map* map, u
|
|||
|
||||
void GameObject::Update(uint32 diff)
|
||||
{
|
||||
WorldObject::Update(diff);
|
||||
|
||||
if (AI())
|
||||
AI()->UpdateAI(diff);
|
||||
else if (!AIM_Initialize())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue