Skip to content

Commit

Permalink
StaticFlags: Implement NO_BIRTH_ANIM
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Oct 6, 2024
1 parent 26d23af commit 0924813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/Entities/CreatureSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0924813

Please sign in to comment.