Manual revert of code from commit to fix clients not dropping group..this still needs to be addressed

This commit is contained in:
Uleat 2019-09-07 22:15:12 -04:00
parent 67d8d6d67d
commit 0041d3e0da

View File

@ -3956,9 +3956,11 @@ void Client::Handle_OP_Camp(const EQApplicationPacket *app)
#ifdef BOTS #ifdef BOTS
// This block is necessary to clean up any bot objects owned by a Client // This block is necessary to clean up any bot objects owned by a Client
Bot::BotOrderCampAll(this); Bot::BotOrderCampAll(this);
auto group = GetGroup(); // Evidently, this is bad under certain conditions and causes crashes...
if (group && group->GroupCount() < 2) // Group and Raid code really needs to be overhauled to account for non-client types (mercs and bots)
group->DisbandGroup(); //auto group = GetGroup();
//if (group && group->GroupCount() < 2)
// group->DisbandGroup();
#endif #endif
if (IsLFP()) if (IsLFP())
worldserver.StopLFP(CharacterID()); worldserver.StopLFP(CharacterID());