aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorraczman <none@none>2009-01-15 22:01:47 -0500
committerraczman <none@none>2009-01-15 22:01:47 -0500
commit4ce857b400770023afb45ffdab09a3a1a5db83e0 (patch)
tree4a21c8c42089d8a1e78d9fad3ec06dd09241beb0 /src/game/Unit.cpp
parenta48321f34805153d1dfe462e3950c63299ea4184 (diff)
Cleanup of log output
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index c828aa30129..900c7526fad 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -457,9 +457,9 @@ void Unit::GetRandomContactPoint( const Unit* obj, float &x, float &y, float &z,
float combat_reach = GetCombatReach();
if(combat_reach < 0.1) // sometimes bugged for players
{
- sLog.outError("Unit %u (Type: %u) has invalid combat_reach %f",GetGUIDLow(),GetTypeId(),combat_reach);
- if(GetTypeId() == TYPEID_UNIT)
- sLog.outError("Creature entry %u has invalid combat_reach", ((Creature*)this)->GetEntry());
+ //sLog.outError("Unit %u (Type: %u) has invalid combat_reach %f",GetGUIDLow(),GetTypeId(),combat_reach);
+ // if(GetTypeId() == TYPEID_UNIT)
+ // sLog.outError("Creature entry %u has invalid combat_reach", ((Creature*)this)->GetEntry());
combat_reach = DEFAULT_COMBAT_REACH;
}
uint32 attacker_number = getAttackers().size();