aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-08 12:25:20 -0500
committermegamage <none@none>2009-08-08 12:25:20 -0500
commit58dc6e180bf88cc62a4bdff403b54c2cf9eba995 (patch)
tree3c0dd962d82dc294da0fca02fc0612e1febf20f9 /src/game/GameObject.cpp
parentf8a05d264f77f366bf9f367dc5c59262c190c017 (diff)
[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
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp2
1 files changed, 2 insertions, 0 deletions
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 */)
{