Bots will no longer crash when disbanding on death or normal disbanding.. HP values on bots will no longer roll over when checking STAMINA

This commit is contained in:
Natedog2012 committed 2015-05-28 11:27:03 -07:00
1 parent dbd615572c
commit 22ef16947c
2 files changed
+22 -9

No files matched your search

+5
View File
@@ -6362,7 +6362,12 @@ void Client::Handle_OP_GroupDisband(const EQApplicationPacket *app)
}
}
}
group = GetGroup();
if (!group) //We must recheck this here.. incase the final bot disbanded the party..otherwise we crash
return;
#endif
if (group->GroupCount() < 3)
{
group->DisbandGroup();