Core/Misc: Added 'f' after float values
This commit is contained in:
1 parent
04bb2f4a17
commit
97142102e0
17 files changed
+52
-48
No files matched your search
@@ -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