mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
@@ -617,6 +617,9 @@ float SpellEffectInfo::CalcRadius(Unit* caster, Spell* spell) const
|
||||
if (!HasRadius() && HasMaxRadius())
|
||||
entry = MaxRadiusEntry;
|
||||
|
||||
if (!entry)
|
||||
return 0.0f;
|
||||
|
||||
float radius = entry->RadiusMin;
|
||||
if (caster)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user