summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_arrow_iceeff.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/actor/d_a_arrow_iceeff.cpp
parentc836c5ca1f14fa629a82e02ea74fb681a7c94e6b (diff)
Use NULL macro in asserts, fix NULL macro to match
Diffstat (limited to 'src/d/actor/d_a_arrow_iceeff.cpp')
-rw-r--r--src/d/actor/d_a_arrow_iceeff.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_arrow_iceeff.cpp b/src/d/actor/d_a_arrow_iceeff.cpp
index 8a0dc5c4..714feaab 100644
--- a/src/d/actor/d_a_arrow_iceeff.cpp
+++ b/src/d/actor/d_a_arrow_iceeff.cpp
@@ -20,7 +20,7 @@ static BOOL CheckCreateHeap(fopAc_ac_c* i_this) {
BOOL daArrow_Iceeff_c::CreateHeap() {
if(field_0xA38 == 0) {
J3DModelData* modelData = static_cast<J3DModelData*>(dComIfG_getObjectRes("Link", LINK_BDL_GICER00));
- JUT_ASSERT(87, modelData != 0);
+ JUT_ASSERT(87, modelData != NULL);
for(int i = 0; i < 30; i++) {
field_0x298[i] = mDoExt_J3DModel__create(modelData, 0, 0x11020203);
if(field_0x298[i] == 0) {
@@ -30,14 +30,14 @@ BOOL daArrow_Iceeff_c::CreateHeap() {
}
else {
J3DModelData* modelData = static_cast<J3DModelData*>(dComIfG_getObjectRes("Link", LINK_BDL_GICER01));
- JUT_ASSERT(98, modelData != 0);
+ JUT_ASSERT(98, modelData != NULL);
mpModel = mDoExt_J3DModel__create(modelData, 0, 0x11020203);
if(mpModel == NULL) {
return false;
}
J3DAnmTransform* bck = static_cast<J3DAnmTransform*>(dComIfG_getObjectRes("Link", LINK_BCK_GICER01));
- JUT_ASSERT(107, bck != 0);
+ JUT_ASSERT(107, bck != NULL);
if(!mBck.init(modelData, bck, true, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, 0, -1, false)) {
return false;
}