mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[BUG] Fix for Group Leader Disband Issue
Added public/private class for oldleadername so we can save the previous leader name when the entity is destroyed then allow us to transfer leadership. Adjusted DelmemberOOZ and in zone functions to include removal of the old leader when disbanding.
This commit is contained in:
@@ -277,6 +277,14 @@ void ZoneServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) {
|
||||
break;
|
||||
}
|
||||
|
||||
case ServerOP_ChangeGroupLeader: {
|
||||
if (pack->size != sizeof(ServerGroupLeader_Struct)) {
|
||||
break;
|
||||
}
|
||||
zoneserver_list.SendPacket(pack); //bounce it to all zones
|
||||
break;
|
||||
}
|
||||
|
||||
case ServerOP_RaidAdd: {
|
||||
if (pack->size != sizeof(ServerRaidGeneralAction_Struct))
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user