diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 53668eca..00d92788 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -5221,9 +5221,9 @@ struct G_BuyShopItem_BB_6xB7 { // This command behaves exactly the same as 6xB4. This alias exists only in // Episode 3 Trial Edition; it was removed in the final release. -// 6xB8: BB accept tekker result (handled by the server) +// 6xB8: BB identify item request (via tekker) (handled by the server) -struct G_AcceptItemIdentification_BB_6xB8 { +struct G_IdentifyItemRequest_6xB8 { G_UnusedHeader header; le_uint32_t item_id; } __packed__; diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index c04d3ba9..a7bdafc1 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -1636,7 +1636,7 @@ static void on_identify_item_bb(shared_ptr, shared_ptr l, shared_ptr c, uint8_t command, uint8_t flag, const void* data, size_t size) { if (l->version == GameVersion::BB) { - const auto& cmd = check_size_t(data, size); + const auto& cmd = check_size_t(data, size); if (!l->is_game()) { return; }