diff options
author | XTZGZoReX <none@none> | 2009-03-25 17:57:05 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2009-03-25 17:57:05 +0100 |
commit | 6583a6f970c5deadeb7cb5983363db697d96a92a (patch) | |
tree | 462bc233054d6b317a91ea83281c875bfc34afdb /src | |
parent | d2e0ed5f5701e40e46c3f3c269eb49c4d8dafb08 (diff) |
* Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |