mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 12:32:17 +00:00
[Fix] Add client packets to questmanager:setguild (#4732)
This commit is contained in:
1 parent
23c4aa241b
commit
89e3b2c72e
7 files changed
+48
-45
No files matched your search
+3
-3
@@ -1623,10 +1623,10 @@ void QuestManager::setsky(uint8 new_sky) {
|
||||
safe_delete(outapp);
|
||||
}
|
||||
|
||||
void QuestManager::setguild(uint32 new_guild_id, uint8 new_rank) {
|
||||
void QuestManager::SetGuild(uint32 new_guild_id, uint8 new_rank) {
|
||||
QuestManagerCurrentQuestVars();
|
||||
if (initiator) {
|
||||
guild_mgr.SetGuild(initiator->CharacterID(), new_guild_id, new_rank);
|
||||
guild_mgr.SetGuild(initiator, new_guild_id, new_rank);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1681,7 +1681,7 @@ void QuestManager::CreateGuild(const char *guild_name, const char *leader) {
|
||||
gid
|
||||
).c_str()
|
||||
);
|
||||
if (!guild_mgr.SetGuild(character_id, gid, GUILD_LEADER)) {
|
||||
if (!guild_mgr.SetGuild(initiator, gid, GUILD_LEADER)) {
|
||||
worldserver.SendEmoteMessage(
|
||||
0,
|
||||
0,
|
||||
|
||||
Reference in new issue
Block a user