aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-08 12:40:20 -0500
committermegamage <none@none>2009-08-08 12:40:20 -0500
commit0d80df4e581143b9aaa0dae716a36946b8841bbf (patch)
tree3027f6c0cd892d65906f1f71479d0010369e93f6 /src/game/GameObject.cpp
parent1165b889a048a5c448305848f668232c9f683969 (diff)
*Add assert back to go::setownerguid
--HG-- branch : trunk
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index 526b60c1de9..c3bfc1d77b9 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -921,19 +921,6 @@ 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
- if (owner && GetOwnerGUID() && GetOwnerGUID() != owner)
- {
- assert(false);
- }
- 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 */)
{
if(activate)