Revert "[BUG] Fix for Group Leader Disband Issue"

This reverts commit f854137ca0.
This commit is contained in:
Akkadius
2021-02-12 02:05:20 -06:00
parent 507bbe83f3
commit 6e765e7ddc
8 changed files with 59 additions and 147 deletions
-4
View File
@@ -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);