aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-25 11:11:19 -0600
committermegamage <none@none>2009-03-25 11:11:19 -0600
commit6efcd8256d35e936d9176918510c31e04e2483e5 (patch)
treed92a3d81e360de568bb7ae0df478c5cb4b5e96b3 /src
parent6583a6f970c5deadeb7cb5983363db697d96a92a (diff)
*Fix build. Sorry.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 7d04349f311..e677af70ee4 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8319,7 +8319,7 @@ void Unit::SetPet(Creature* pet, bool apply)
{
if(apply)
{
- if(!pet->AddUInt64Value(UNIT_FIELD_SUMMONEDBY, GetGuid()))
+ if(!pet->AddUInt64Value(UNIT_FIELD_SUMMONEDBY, GetGUID()))
{
sLog.outCrash("Pet %u is summoned by %u but it already has a owner", pet->GetEntry(), GetEntry());
return;
@@ -8334,7 +8334,7 @@ void Unit::SetPet(Creature* pet, bool apply)
}
else
{
- if(!pet->RemoveUInt64Value(UNIT_FIELD_SUMMONEDBY, GetGuid())
+ if(!pet->RemoveUInt64Value(UNIT_FIELD_SUMMONEDBY, GetGUID()))
{
sLog.outCrash("Pet %u is unsummoned by %u but it has another owner", pet->GetEntry(), GetEntry());
return;