mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 16:58:02 +00:00
[Fix] Add client packets to questmanager:setguild (#4732)
This commit is contained in:
+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