mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Manual revert of code from commit to fix clients not dropping group..this still needs to be addressed
This commit is contained in:
parent
67d8d6d67d
commit
0041d3e0da
@ -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());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user