From 6efcd8256d35e936d9176918510c31e04e2483e5 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 25 Mar 2009 11:11:19 -0600 Subject: *Fix build. Sorry. --HG-- branch : trunk --- src/game/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3