fix dc guild card format

This commit is contained in:
Martin Michelsen
2022-08-27 18:59:00 -07:00
parent dc278a7843
commit bca76322bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2761,7 +2761,7 @@ struct G_SendGuildCard_DC_PC_V3 {
uint8_t char_class;
};
struct G_SendGuildCard_DC_6x06 : G_SendGuildCard_DC_PC_V3<char16_t, 0x11> {
struct G_SendGuildCard_DC_6x06 : G_SendGuildCard_DC_PC_V3<char, 0x11> {
parray<uint8_t, 3> unused3;
};
struct G_SendGuildCard_PC_6x06 : G_SendGuildCard_DC_PC_V3<char16_t, 0x24> { };
+1 -1
View File
@@ -117,7 +117,7 @@ static void process_subcommand_send_guild_card(shared_ptr<ServerState>,
switch (c->version()) {
case GameVersion::DC: {
const auto* cmd = check_size_sc<G_SendGuildCard_PC_6x06>(data);
const auto* cmd = check_size_sc<G_SendGuildCard_DC_6x06>(data);
c->game_data.player()->guild_card_description = cmd->description;
break;
}