From 6583a6f970c5deadeb7cb5983363db697d96a92a Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Wed, 25 Mar 2009 17:57:05 +0100 Subject: * Fix build. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a92ae91ce29..7d04349f311 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; -- cgit v1.2.3