rename 6xB8 command on BB

This commit is contained in:
Martin Michelsen
2023-08-10 21:02:18 -07:00
parent 6d4430da13
commit c57b031156
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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__;
+1 -1
View File
@@ -1636,7 +1636,7 @@ static void on_identify_item_bb(shared_ptr<ServerState>,
shared_ptr<Lobby> l, shared_ptr<Client> c, uint8_t command, uint8_t flag,
const void* data, size_t size) {
if (l->version == GameVersion::BB) {
const auto& cmd = check_size_t<G_AcceptItemIdentification_BB_6xB8>(data, size);
const auto& cmd = check_size_t<G_IdentifyItemRequest_6xB8>(data, size);
if (!l->is_game()) {
return;
}