From 58dc6e180bf88cc62a4bdff403b54c2cf9eba995 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 8 Aug 2009 12:25:20 -0500 Subject: [8320] Imporovements in wild summoned gameobjects work. Author: VladimirMangos * Not set owner for will summoned gameobjects. Its not expected to have owner, and must be accessable to all players (or team). * Set for all objects summoned by spells: despawned by deafult for proper despawn withut owner. * Cleanup Spell::EffectSummonObjectWild. --HG-- branch : trunk --- src/game/GameObject.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/GameObject.cpp') diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 457591e63b4..526b60c1de9 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -921,6 +921,7 @@ void GameObject::SetGoArtKit(uint8 kit) data->ArtKit = kit; } +/* void GameObject::SetOwnerGUID(uint64 owner) { // Owner already found and different than expected owner - remove object from old owner @@ -931,6 +932,7 @@ void GameObject::SetOwnerGUID(uint64 owner) m_spawnedByDefault = false; // all object with owner is despawned after delay SetUInt64Value(OBJECT_FIELD_CREATED_BY, owner); } +*/ void GameObject::SwitchDoorOrButton(bool activate, bool alternative /* = false */) { -- cgit v1.2.3