Revert "Isolate JKRHeap operator overloads" (#39)

This commit is contained in:
TakaRikka
2026-03-06 19:49:35 -08:00
committed by GitHub
parent b7c482fb87
commit 78d4169929
630 changed files with 3349 additions and 3452 deletions
+3 -3
View File
@@ -89,7 +89,7 @@ static u32 const l_batta_btk_index[2] = {
inline int daObjBATTA_c::CreateHeap() {
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("Bat", 0xb);
JUT_ASSERT(256, modelData != NULL);
mpMorf = JKR_NEW mDoExt_McaMorfSO(modelData, NULL, NULL,
mpMorf = new mDoExt_McaMorfSO(modelData, NULL, NULL,
(J3DAnmTransform*)dComIfG_getObjectRes("Bat", 8), 2, 1.0f, 0, -1,
&mCreature, 0x80000, 0x11000284);
if (mpMorf == NULL || mpMorf->getModel() == NULL) {
@@ -97,7 +97,7 @@ inline int daObjBATTA_c::CreateHeap() {
}
J3DModel* morfModel = mpMorf->getModel();
mBrk = JKR_NEW mDoExt_brkAnm();
mBrk = new mDoExt_brkAnm();
if (mBrk == NULL) {
return 0;
}
@@ -107,7 +107,7 @@ inline int daObjBATTA_c::CreateHeap() {
return 0;
}
mBtk = JKR_NEW mDoExt_btkAnm();
mBtk = new mDoExt_btkAnm();
if (mBtk == NULL) {
return 0;
}