Use NULL macro in asserts, fix NULL macro to match

This commit is contained in:
LagoLunatic
2024-06-22 11:07:16 -04:00
parent c836c5ca1f
commit f9d40ebad8
159 changed files with 462 additions and 462 deletions
+1 -1
View File
@@ -752,7 +752,7 @@ void cBgW::GetTrans(cXyz* dst) const {
/* 80249A58-80249B64 .text GetTriPnt__4cBgWCFiP4cXyzP4cXyzP4cXyz */
void cBgW::GetTriPnt(int i_no, cXyz* p0, cXyz* p1, cXyz* p2) const {
JUT_ASSERT(0xcb3, pm_bgd != 0);
JUT_ASSERT(0xcb3, pm_bgd != NULL);
cBgD_Tri_t * tri = &pm_bgd->m_t_tbl[i_no];
p0->set(pm_vtx_tbl[tri->vtx0]);
+1 -1
View File
@@ -113,7 +113,7 @@ cXyz cXyz::normZC(void) const {
/* 80245ADC-80245B80 .text normalize__4cXyzFv */
cXyz cXyz::normalize(void) {
JUT_ASSERT(267, isNearZeroSquare() == 0);
JUT_ASSERT(267, isNearZeroSquare() == FALSE);
VECNormalize(this, this);
return *this;
}