mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 05:08:26 +00:00
Fixed IsRaidMemberBot to remove memory leak
Fixed altcombat crash though RaidMainAssist (428) needs fixing
This commit is contained in:
@@ -428,6 +428,10 @@ void Bot::AI_Process_Raid()
|
||||
auto assist_mob = raid->GetRaidMainAssistOneByName(this->GetName());
|
||||
bool find_target = true;
|
||||
|
||||
if (!assist_mob) {
|
||||
bot_owner->Message(Chat::Yellow, "Assist Mob is nullptr");
|
||||
}
|
||||
|
||||
if (assist_mob) {
|
||||
|
||||
if (assist_mob->GetTarget()) {
|
||||
|
||||
Reference in New Issue
Block a user