diff --git a/include/RE/T/TaskQueueInterface.h b/include/RE/T/TaskQueueInterface.h index 8825c770f..bbb38f240 100644 --- a/include/RE/T/TaskQueueInterface.h +++ b/include/RE/T/TaskQueueInterface.h @@ -23,6 +23,7 @@ namespace RE void QueueUpdateDestructibleObject(TESObjectREFR* a_refr, float a_damage, bool a_arg3, TESObjectREFR* a_cause); // 09 void QueueAddRipple(float a_scale, const NiPoint3& a_pos); // 45 void QueueForceWeather(TESWeather* a_weather, bool a_forceOverride); // 64 + void QueueUpdateNiObject(NiAVObject* a_obj); // 89 void QueueActorDisarm(ActorHandle& a_target, ActorHandle& a_caster); // 91 void QueueRemoveSpell(ActorHandle& a_actor, SpellItem* a_spellItem); // 93 }; diff --git a/src/RE/T/TaskQueueInterface.cpp b/src/RE/T/TaskQueueInterface.cpp index 1e6fa08ae..59eb4385b 100644 --- a/src/RE/T/TaskQueueInterface.cpp +++ b/src/RE/T/TaskQueueInterface.cpp @@ -50,6 +50,13 @@ namespace RE return func(this, a_weather, a_forceOverride); } + void TaskQueueInterface::QueueUpdateNiObject(NiAVObject* a_obj) + { + using func_t = decltype(&TaskQueueInterface::QueueUpdateNiObject); + static REL::Relocation func{ RELOCATION_ID(35929, 36904) }; + return func(this, a_obj); + } + void TaskQueueInterface::QueueActorDisarm(ActorHandle& a_target, ActorHandle& a_caster) { using func_t = decltype(&TaskQueueInterface::QueueActorDisarm);