Skip to content

Commit 6ccf95a

Browse files
committed
Scripts/Toc: Fix a possible crash with grand champions encounter.
1 parent 8cf2062 commit 6ccf95a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_grand_champions.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@ class boss_hunter_toc5 : public CreatureScript
839839
if (target && me->IsInRange(target, 5.0f, 30.0f, false))
840840
{
841841
DoCast(target, SPELL_MULTI_SHOT);
842-
} else
842+
}
843+
else if (target)
843844
{
844845
Map::PlayerList const& players = me->GetMap()->GetPlayers();
845846
if (me->GetMap()->IsDungeon() && !players.isEmpty())

0 commit comments

Comments
 (0)