diff options
Diffstat (limited to 'src/server/game')
| -rw-r--r-- | src/server/game/Grids/Notifiers/GridNotifiers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h index f97f5ac298a..3ff1ae222af 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiers.h +++ b/src/server/game/Grids/Notifiers/GridNotifiers.h @@ -635,6 +635,9 @@ namespace Trinity if (go->GetGOInfo()->spellFocus.spellFocusType != i_focusId) return false; + if (!go->isSpawned()) + return false; + float dist = go->GetGOInfo()->spellFocus.radius / 2.f; return go->IsWithinDistInMap(i_unit, dist); |
