mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
[svn] Modify SummonGameObject function to set owner GUID.
Implement spell 23019. Patch provided by Edder. --HG-- branch : trunk
This commit is contained in:
@@ -1453,6 +1453,7 @@ GameObject* WorldObject::SummonGameObject(uint32 entry, float x, float y, float
|
||||
return NULL;
|
||||
go->SetRespawnTime(respawnTime);
|
||||
go->SetSpawnedByDefault(false); // do not save respawn time
|
||||
go->SetOwnerGUID(GetGUID());
|
||||
map->Add(go);
|
||||
|
||||
return go;
|
||||
|
||||
Reference in New Issue
Block a user