aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-27 10:13:12 -0600
committermegamage <none@none>2009-03-27 10:13:12 -0600
commit74d88025cbb1568e9359354d3a51f2d3033c7ac0 (patch)
tree76e62ec7fab9f766cdaa4d62f8f2e96d8571639c /src/game/Unit.cpp
parentf077ca4c6c4cbeafbe72e67e6684b0947bea87c5 (diff)
*Fix some client issues about pet.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 100fa5231db..c7a5d45d285 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8273,7 +8273,7 @@ Pet* Unit::GetPet() const
return pet;
sLog.outError("Unit::GetPet: Pet %u not exist.",GUID_LOPART(pet_guid));
- const_cast<Unit*>(this)->SetUInt64Value(UNIT_FIELD_SUMMON, 0);
+ //const_cast<Unit*>(this)->SetUInt64Value(UNIT_FIELD_SUMMON, 0);
}
return NULL;