Core/Misc: Added 'f' after float values
This commit is contained in:
@@ -585,7 +585,7 @@ bool Unit::IsWithinMeleeRange(const Unit* obj, float dist) const
|
||||
void Unit::GetRandomContactPoint(const Unit* obj, float &x, float &y, float &z, float distance2dMin, float distance2dMax) const
|
||||
{
|
||||
float combat_reach = GetCombatReach();
|
||||
if (combat_reach < 0.1) // sometimes bugged for players
|
||||
if (combat_reach < 0.1f) // sometimes bugged for players
|
||||
combat_reach = DEFAULT_COMBAT_REACH;
|
||||
|
||||
uint32 attacker_number = getAttackers().size();
|
||||
|
||||
Reference in New Issue
Block a user