aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-21 19:33:50 +0100
committerQAston <none@none>2009-03-21 19:33:50 +0100
commitb6e8e8a21f84cf326c23fbbc4723a718ef822f65 (patch)
tree9e1812e786c909280ce3816f7e7661f1df58813d /src/game/Unit.cpp
parent5eda38d76a53b770698d53949324813a532c6473 (diff)
parentd0501ab3a12895ad35f009e1a8758aca090f95b5 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 9bf6b86e513..f3ed7d9d9d6 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8253,7 +8253,6 @@ Unit* Unit::GetCharm() const
void Unit::SetPet(Creature* pet, bool apply)
{
- sLog.outError("before %u", GetPetGUID());
if(apply)
{
if(!GetPetGUID())
@@ -8280,7 +8279,6 @@ void Unit::SetPet(Creature* pet, bool apply)
}
}
}
- sLog.outError("after %u", GetPetGUID());
}
void Unit::SetCharm(Unit* charm, bool apply)
@@ -11221,10 +11219,6 @@ void Unit::RemoveFromWorld()
RemoveCharmAuras();
RemoveBindSightAuras();
RemoveNotOwnSingleTargetAuras();
- }
-
- //if(m_uint32Values)
- {
// if it has charmer or owner, it must be in someone's controllist and server will crash
assert(!GetCharmerGUID());
assert(!GetOwnerGUID());