Cleanp a bunch of stuff

This commit is contained in:
LagoLunatic
2025-03-28 20:44:06 -04:00
parent b72d243f9b
commit db2c5ef978
31 changed files with 181 additions and 188 deletions
+2 -1
View File
@@ -176,7 +176,8 @@ BOOL daNpc_Nz_c::_createHeap() {
}
}
if (field_0x934.init(1, 10, static_cast<ResTIMG*>(dComIfG_getObjectRes(m_arc_name, NZ_BTI_SIPPO)), 0)) {
ResTIMG* img = static_cast<ResTIMG*>(dComIfG_getObjectRes(m_arc_name, NZ_BTI_SIPPO));
if (field_0x934.init(1, 10, img, FALSE)) {
return TRUE;
} else {
return FALSE;