void CBot::OnDeath(Unit* pKiller)
{
if (this == nullptr)
return;
if (m_bResHpType == USER_DEAD)
return;
m_bResHpType = USER_DEAD;
m_BotState = BOT_DEAD;
if (isDead()) SendDeathAnimation(); // bot kill effecti
isReset(false);
şurayı bi kontrol et src den