diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 65fb26f3..4d8fbd1f 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -2761,7 +2761,7 @@ struct G_SendGuildCard_DC_PC_V3 { uint8_t char_class; }; -struct G_SendGuildCard_DC_6x06 : G_SendGuildCard_DC_PC_V3 { +struct G_SendGuildCard_DC_6x06 : G_SendGuildCard_DC_PC_V3 { parray unused3; }; struct G_SendGuildCard_PC_6x06 : G_SendGuildCard_DC_PC_V3 { }; diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index 82462bea..6494a8ef 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -117,7 +117,7 @@ static void process_subcommand_send_guild_card(shared_ptr, switch (c->version()) { case GameVersion::DC: { - const auto* cmd = check_size_sc(data); + const auto* cmd = check_size_sc(data); c->game_data.player()->guild_card_description = cmd->description; break; }