From dc6aab3d925d18a28b08a4f8aae4a67bac128430 Mon Sep 17 00:00:00 2001 From: AoShinHo <126742159+AoShinRO@users.noreply.github.com> Date: Tue, 27 Aug 2024 08:05:03 -0300 Subject: [PATCH] Fixed guild name on alt+a (#8574) Fixes #8522 Co-authored-by: Lemongrass3110 --- src/map/guild.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/map/guild.cpp b/src/map/guild.cpp index e7a5af23e5..985d1a654a 100644 --- a/src/map/guild.cpp +++ b/src/map/guild.cpp @@ -893,6 +893,10 @@ int guild_recv_info(const struct mmo_guild &sg) { clif_guild_skillinfo( *sd ); // Submit information skills if (guild_new) { // Send information and affiliation if unsent +#if PACKETVER >= 20200902 + // Clients after this version need this packet to show the guild name on alt+a + clif_guild_basicinfo( *sd ); +#endif clif_guild_belonginfo( *sd ); clif_guild_notice( *sd ); sd->guild_emblem_id = g->guild.emblem_id; @@ -1376,6 +1380,10 @@ int guild_send_memberinfoshort(map_session_data *sd,int online) { // cleaned up } if(sd->state.connect_new) { //Note that this works because it is invoked in parse_LoadEndAck before connect_new is cleared. +#if PACKETVER >= 20200902 + // Clients after this version need this packet to show the guild name on alt+a + clif_guild_basicinfo( *sd ); +#endif clif_guild_belonginfo( *sd ); sd->guild_emblem_id = g->guild.emblem_id; }