* Re-Fixed GO type 6 and type 8 to use radius for distance calculations instead
* of diameter. This will prevent things like people getting burned even though * you aren't touching the fire. --HG-- branch : trunk
This commit is contained in:
@@ -671,7 +671,7 @@ namespace Trinity
|
||||
if(go->GetGOInfo()->spellFocus.focusId != i_focusId)
|
||||
return false;
|
||||
|
||||
float dist = go->GetGOInfo()->spellFocus.dist;
|
||||
float dist = (go->GetGOInfo()->spellFocus.dist)/2;
|
||||
|
||||
return go->IsWithinDistInMap(i_unit, dist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user