fix(Core/DynamicObject): Fix Death and Decay not ticking while stationary (#24205)
Co-authored-by: blinkysc <37940565+blinkysc@users.noreply.github.com>
This commit is contained in:
parent
d39a03b7ab
commit
e3f6693d1a
2 changed files with 10 additions and 0 deletions
|
|
@ -272,3 +272,11 @@ void DynamicObject::UnbindFromCaster()
|
|||
_caster->_UnregisterDynObject(this);
|
||||
_caster = nullptr;
|
||||
}
|
||||
|
||||
bool DynamicObject::IsUpdateNeeded()
|
||||
{
|
||||
if (GetByteValue(DYNAMICOBJECT_BYTES, 0) == DYNAMIC_OBJECT_AREA_SPELL)
|
||||
return true;
|
||||
|
||||
return WorldObject::IsUpdateNeeded();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue