Core/Entities: spawned movementtype should override template movementtype
Port From (https://github.com/TrinityCore/TrinityCore/commit/a24cb8a057d53c4df15b97e536c14640d9d08610)
This commit is contained in:
@@ -1031,7 +1031,7 @@ namespace Game.AI
|
||||
|
||||
foreach (var obj in targets)
|
||||
if (IsCreature(obj))
|
||||
obj.ToCreature().UpdateEntry(e.Action.updateTemplate.creature, null, e.Action.updateTemplate.updateLevel != 0);
|
||||
obj.ToCreature().UpdateEntry(e.Action.updateTemplate.creature, obj.ToCreature().GetCreatureData(), e.Action.updateTemplate.updateLevel != 0);
|
||||
break;
|
||||
}
|
||||
case SmartActions.Die:
|
||||
|
||||
Reference in New Issue
Block a user