[svn] Modify SummonGameObject function to set owner GUID.
Implement spell 23019. Patch provided by Edder. --HG-- branch : trunk
This commit is contained in:
1 parent
a3e03f62d0
commit
fe453877d1
2 files changed
+4
-21
No files matched your search
@@ -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