diff options
| author | robojumper <robojumper@gmail.com> | 2026-05-02 18:28:52 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2026-05-10 20:05:48 +0200 |
| commit | 0aa06252f6456cbe9179ff53e71bbe3228bb3e91 (patch) | |
| tree | 729f5cb703368bfb7c6d779dd097ef125dcf1064 | |
| parent | 6046f9bd7cb506cfff17aa1327a3f135867c8ed5 (diff) | |
fixup! dAcItem_c::{create, createHeap} OK
remove outdated comments
| -rw-r--r-- | src/d/a/d_a_item.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/d/a/d_a_item.cpp b/src/d/a/d_a_item.cpp index 8bbda693..6e854afb 100644 --- a/src/d/a/d_a_item.cpp +++ b/src/d/a/d_a_item.cpp @@ -487,7 +487,6 @@ bool dAcItem_c::createHeap() { return true; } -// TODO this function pools .data but doesn't pool .bss for some reason int dAcItem_c::create() { u32 flag = getFromParams(0xA, 0xFF); if (flag < 0xFF && SceneflagManager::sInstance->checkBoolFlag(mRoomID, flag)) { @@ -705,7 +704,6 @@ int dAcItem_c::create() { fn_802567D0(); } - // These need to not pool... switch (getSubtypeFromParam(mParams)) { default: mStateMgr.changeState(StateID_Wait); @@ -984,8 +982,6 @@ int dAcItem_c::create() { } if (mId == ITEM_STAMINA_FRUIT && unk) { - // ((getFirstBitParams2__9dAcBase_cCFv((dAcBase_c *) this) << 8) & 0x100 & ~1) | (((u32) this->unk4 >> 0x13U) & 1) - u32 p1 = (getFirstBitParams2() & 0x1) << 8; u32 parms = ((mParams >> 0x13) & 0x1) | (p1 & ~0x1); dAcObjBase_c *leaves = dAcObjBase_c::create(fProfile::OBJ_FRUIT_GUTS_LEAF, mRoomID, parms, &mPosition, &mRotation, &mScale, -1); |
