fix boomerang potentially not being collected as freestanding item

This commit is contained in:
gymnast86
2026-06-06 21:11:40 -07:00
parent 3fb86dbac8
commit 0f0dca5514
+7 -2
View File
@@ -364,8 +364,6 @@ int daItem_c::_daItem_create() {
if (flag) {
CreateInit();
} else {
#if TARGET_PC
#endif
phase_state = dComIfG_resLoad(&mPhase, dItem_data::getFieldArc(M_ITEMNO_MODEL_ITEM_ID));
if (phase_state == cPhs_COMPLEATE_e) {
if (!fopAcM_entrySolidHeap(this, CheckFieldItemCreateHeap,
@@ -1051,6 +1049,13 @@ void daItem_c::itemGet() {
execItemGet(m_itemNo);
break;
case dItemNo_BOOMERANG_e:
#if TARGET_PC
if (randomizer_IsActive()) {
// Some kind of sound should play, otherwise it feels weird
mDoAud_seStart(Z2SE_CONSUMP_ITEM_GET, NULL, 0, 0);
execItemGet(m_itemNo);
}
#endif
break;
case dItemNo_ARROW_10_e:
case dItemNo_ARROW_20_e: