From 4db50d2843df23316e3e039f510de1d371928e8b Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Mon, 11 May 2026 14:05:23 -0700 Subject: [PATCH] fix progressive items in chests on the same stage --- src/f_op/f_op_actor_mng.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/f_op/f_op_actor_mng.cpp b/src/f_op/f_op_actor_mng.cpp index f934650281..5233bf97ce 100644 --- a/src/f_op/f_op_actor_mng.cpp +++ b/src/f_op/f_op_actor_mng.cpp @@ -1418,7 +1418,11 @@ fpc_ProcID fopAcM_createItemForPresentDemo(cXyz const* i_pos, int i_itemNo, u8 p fpc_ProcID fopAcM_createItemForTrBoxDemo(cXyz const* i_pos, int i_itemNo, int i_itemBitNo, int i_roomNo, csXyz const* i_angle, cXyz const* i_scale) { - +#if TARGET_PC + if (randomizer_IsActive()) { + i_itemNo = verifyProgressiveItem(i_itemNo); + } +#endif JUT_ASSERT(3259, 0 <= i_itemNo && i_itemNo < 256); dComIfGp_event_setGtItm(i_itemNo);