Core/Creatures: Added missing assignment
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e641606e7931a4362830648e38b81fb0a460d50)
This commit is contained in:
@@ -402,6 +402,8 @@ namespace Game.Entities
|
|||||||
|
|
||||||
void ApplyAllStaticFlags(CreatureStaticFlagsHolder flags)
|
void ApplyAllStaticFlags(CreatureStaticFlagsHolder flags)
|
||||||
{
|
{
|
||||||
|
_staticFlags = flags;
|
||||||
|
|
||||||
// Apply all other side effects of flag changes
|
// Apply all other side effects of flag changes
|
||||||
SetTemplateRooted(flags.HasFlag(CreatureStaticFlags.Sessile));
|
SetTemplateRooted(flags.HasFlag(CreatureStaticFlags.Sessile));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user