Cleanup, improve readability of conditionals

This commit is contained in:
LagoLunatic
2026-05-28 20:27:24 -04:00
parent b597e195b4
commit 5cde617f29
6 changed files with 735 additions and 608 deletions
+2 -1
View File
@@ -2714,9 +2714,10 @@ static BOOL useHeapInit(fopAc_ac_c* a_this) {
i_this->mpDeadHeadMorf = new mDoExt_McaMorf(
(J3DModelData*)dComIfG_getObjectRes("Btd", BTD_BMD_NAMAKUBI), NULL, NULL, NULL, J3DFrameCtrl::EMode_LOOP, 1.0f, 0, -1, 0, NULL, 0, 0x11020203
);
if ((i_this->mpDeadHeadMorf == NULL) || (pModel = i_this->mpDeadHeadMorf->getModel(), pModel == NULL)) {
if ((i_this->mpDeadHeadMorf == NULL) || (i_this->mpDeadHeadMorf->getModel() == NULL)) {
return FALSE;
}
pModel = i_this->mpDeadHeadMorf->getModel();
i_this->mpDeadHeadBtkAnm = new mDoExt_btkAnm();
if (i_this->mpDeadHeadBtkAnm == NULL) {
return FALSE;