mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
Revert "[BUG] Fix for Group Leader Disband Issue"
This reverts commit f854137ca0.
This commit is contained in:
@@ -37,8 +37,6 @@ public:
|
||||
GroupIDConsumer() { id = 0; }
|
||||
GroupIDConsumer(uint32 gid) { id = gid; }
|
||||
inline const uint32 GetID() const { return id; }
|
||||
void SetOldLeaderName(const char* oldleader) { strcpy(oldleadername, oldleader); }
|
||||
char* GetOldLeaderName() { return oldleadername; }
|
||||
|
||||
protected:
|
||||
friend class EntityList;
|
||||
@@ -46,7 +44,6 @@ protected:
|
||||
inline void SetID(uint32 set_id) { id = set_id; }
|
||||
private:
|
||||
uint32 id;
|
||||
char oldleadername[64]; // Keeps the previous leader name, so when the entity is destroyed we can still transfer leadership.
|
||||
};
|
||||
|
||||
class Group : public GroupIDConsumer {
|
||||
@@ -61,7 +58,6 @@ public:
|
||||
void SendLeadershipAAUpdate();
|
||||
void SendWorldGroup(uint32 zone_id,Mob* zoningmember);
|
||||
bool DelMemberOOZ(const char *Name);
|
||||
bool DelMemberOOZ(const char *Name, bool checkleader);
|
||||
bool DelMember(Mob* oldmember,bool ignoresender = false);
|
||||
void DisbandGroup(bool joinraid = false);
|
||||
void GetMemberList(std::list<Mob*>& member_list, bool clear_list = true);
|
||||
|
||||
Reference in New Issue
Block a user