From 09248130ef722edb73044181e63314ee93ce1534 Mon Sep 17 00:00:00 2001 From: insunaa Date: Fri, 9 Aug 2024 14:17:27 +0200 Subject: [PATCH] StaticFlags: Implement NO_BIRTH_ANIM --- src/game/Entities/CreatureSettings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/Entities/CreatureSettings.cpp b/src/game/Entities/CreatureSettings.cpp index 929461ab05a..8bfdcd574d3 100644 --- a/src/game/Entities/CreatureSettings.cpp +++ b/src/game/Entities/CreatureSettings.cpp @@ -52,6 +52,8 @@ void CreatureSettings::ResetStaticFlags(CreatureStaticFlags staticFlags, Creatur m_owner->DisableThreatPropagationToOwner(); if (HasFlag(CreatureStaticFlags2::HIDE_BODY)) m_owner->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_HIDE_BODY); + if (HasFlag(CreatureStaticFlags4::NO_BIRTH_ANIM)) + m_owner->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_DO_NOT_FADE_IN); } void CreatureSettings::SetFlag(CreatureStaticFlags flag)