summaryrefslogtreecommitdiff
path: root/src/d/d_gameover.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-06-22 11:07:16 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-06-22 11:07:16 -0400
commitf9d40ebad822d9d873e05f0fbe52990dc538179e (patch)
tree20b37f53f7909efee3c4d33486232e62ebfd1053 /src/d/d_gameover.cpp
parentc836c5ca1f14fa629a82e02ea74fb681a7c94e6b (diff)
Use NULL macro in asserts, fix NULL macro to match
Diffstat (limited to 'src/d/d_gameover.cpp')
-rw-r--r--src/d/d_gameover.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_gameover.cpp b/src/d/d_gameover.cpp
index 5aa8ac2c..cbcfd867 100644
--- a/src/d/d_gameover.cpp
+++ b/src/d/d_gameover.cpp
@@ -149,7 +149,7 @@ s32 dGameover_c::_create() {
if (rt == cPhs_COMPLEATE_e) {
dComIfGs_addDeathCount();
dRes_info_c* resInfo = dComIfG_getObjectResInfo("Gover");
- JUT_ASSERT(0xa0, resInfo != 0);
+ JUT_ASSERT(0xa0, resInfo != NULL);
mpHeap = dComIfGp_getExpHeap2D();
dComIfGp_setHeapLockFlag(4);
@@ -159,12 +159,12 @@ s32 dGameover_c::_create() {
dgo_scrn_c->setScreen("gameover.blo", resInfo->getArchive());
dMs_c = new dMenu_save_c();
- JUT_ASSERT(0xb6, dMs_c != 0);
+ JUT_ASSERT(0xb6, dMs_c != NULL);
dMs_c->field_0x0537 = 2;
dMs_c->_create();
dgo_capture_c = new dDlst_Gameover_CAPTURE_c();
- JUT_ASSERT(0xbb, dgo_capture_c != 0);
+ JUT_ASSERT(0xbb, dgo_capture_c != NULL);
mDoExt_setCurrentHeap(oldHeap);
} else {