summaryrefslogtreecommitdiff
path: root/src/d/d_map_path_dmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_map_path_dmap.cpp')
-rw-r--r--src/d/d_map_path_dmap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_map_path_dmap.cpp b/src/d/d_map_path_dmap.cpp
index cda14658c8..469c9acfbc 100644
--- a/src/d/d_map_path_dmap.cpp
+++ b/src/d/d_map_path_dmap.cpp
@@ -3,7 +3,7 @@
*
*/
-#include "d/dolzel.h"
+#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_map_path_dmap.h"
#include "d/actor/d_a_player.h"
@@ -435,7 +435,7 @@ int dMpath_c::getTopBottomFloorNo(s8* i_topFloorNo, s8* i_bottomFloorNo) {
/* 8003F7E8-8003F810 03A128 0028+00 0/0 1/1 0/0 .text createWork__8dMpath_cFv */
void dMpath_c::createWork() {
mLayerList = new dDrawPath_c::layer_data;
- JUT_ASSERT(1416, mLayerList!=0);
+ JUT_ASSERT(1416, mLayerList!=NULL);
}
/* 8003F810-8003FA40 03A150 0230+00 1/1 1/1 0/0 .text
@@ -1114,7 +1114,7 @@ void renderingPlusDoorAndCursor_c::drawTreasure() {
int group_num = getIconGroupNumber(tmp);
if (group_num != 0) {
- JUT_ASSERT(0xaf9, typeGroupData_p != 0);
+ JUT_ASSERT(0xaf9, typeGroupData_p != NULL);
f32 icon_size = getIconSize(tmp) * mCmPerTexel;
f32 icon_size_2 = icon_size;
@@ -1190,7 +1190,7 @@ void renderingPlusDoorAndCursor_c::drawTreasureAfterPlayer() {
int group_num = getIconGroupNumber(tmp);
if (group_num != 0) {
- JUT_ASSERT(0xb7e, typeGroupData_p != 0);
+ JUT_ASSERT(0xb7e, typeGroupData_p != NULL);
f32 icon_size = getIconSize(tmp) * mCmPerTexel;
f32 icon_size_2 = icon_size;