[Bug Fix] Fix GetLeaderName() for Groups (#4184)

* [Bug Fix] Fix GetLeaderName() for Groups

# Notes
- We were getting bogus data in this.
- Made it its own method.

* Remove ExpeditionRequest::GetGroupLeaderName()
This commit is contained in:
Alex King authored and GitHub committed 2024-03-13 21:52:02 -04:00
1 parent e48dae2392
commit b29c26becb
9 files changed
+32 -24

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ public:
void SplitMoney(uint32 copper, uint32 silver, uint32 gold, uint32 platinum, Lua_Client splitter);
void SetLeader(Lua_Mob c);
Lua_Mob GetLeader();
const char *GetLeaderName();
std::string GetLeaderName();
bool IsLeader(const char* name);
bool IsLeader(Lua_Mob c);
int GroupCount();