mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
Fixed a bot crash
This commit is contained in:
+3
-2
@@ -5036,10 +5036,11 @@ bool Bot::Death(Mob *killerMob, int32 damage, uint16 spell_id, EQ::skills::Skill
|
||||
}
|
||||
|
||||
Raid* raid = entity_list.GetRaidByBotName(this->GetName());
|
||||
uint32 gid = raid->GetGroup(this->GetName());
|
||||
|
||||
if (raid)
|
||||
{
|
||||
for (int x = 0; x < MAX_RAID_MEMBERS; x++)
|
||||
|
||||
for (int x = 0; x < MAX_RAID_MEMBERS; x++)
|
||||
{
|
||||
if (strcmp(raid->members[x].membername, this->GetName()) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user