mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 18:07:16 +00:00
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:
1 parent
dbd615572c
commit
22ef16947c
2 files changed
+22
-9
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user