From 0a8678fda7c505b481711a2add8d62ff70ce0979 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 16 May 2024 19:57:46 -0700 Subject: [PATCH] fix tekker section id --- src/ReceiveSubcommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index 9a4dca84..cb9eaeb6 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -3661,7 +3661,7 @@ static void on_identify_item_bb(shared_ptr c, uint8_t command, uint8_t f p->disp.stats.meseta -= 100; c->bb_identify_result = p->inventory.items[x].data; c->bb_identify_result.data1[4] &= 0x7F; - l->item_creator->apply_tekker_deltas(c->bb_identify_result, p->disp.visual.section_id); + l->item_creator->apply_tekker_deltas(c->bb_identify_result, l->effective_section_id()); send_item_identify_result(c); } else {