mangosR2/scriptdev2 — comment on commit 61dceaebac72f82b3e7bac9162b0eec96f50098f
File:  line 0
By ranger:

on code:
Unit* pUnit = m_creature->GetMap()->GetUnit((*i)->getUnitGuid());

if (m_creature->GetCombatDistance(pUnit) < dist)

if pUnit is NULL, we are got a crash!