summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_yamit.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-09-28 16:11:07 -0400
committerGitHub <noreply@github.com>2025-09-28 13:11:07 -0700
commit9eea9289b1c4316d5856d1cb9602ee463d7de989 (patch)
treedde3385855941d12a306de3ca8fb316338be288b /src/d/actor/d_a_npc_yamit.cpp
parentc9a710a939c7bccee7eb16e90ed70c9d3f6c78ad (diff)
Fix JUT_ASSERT and several other macros (#2711)
* Fix JUT_ASSERT to be a nested define * Switch names that appear in asserts to be constants instead of defines * Replace `0` in asserts with `NULL` or `FALSE` * Fix fpclassify * Fix ARRAY_SIZE * Use G_CM3D_F_INF * More fixes for fpclassify * Remove FLOAT_LABEL * Remove incorrect FLAG_ON macro * Remove UNK_BSS macro * Silence clangd unused header warning for PCH
Diffstat (limited to 'src/d/actor/d_a_npc_yamit.cpp')
-rw-r--r--src/d/actor/d_a_npc_yamit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_yamit.cpp b/src/d/actor/d_a_npc_yamit.cpp
index 2b6ebaabf2..e875e7399a 100644
--- a/src/d/actor/d_a_npc_yamit.cpp
+++ b/src/d/actor/d_a_npc_yamit.cpp
@@ -3,7 +3,7 @@
*
*/
-#include "d/dolzel_rel.h"
+#include "d/dolzel_rel.h" // IWYU pragma: keep
#include "d/actor/d_a_npc_yamit.h"
#include "dol2asm.h"
@@ -619,7 +619,7 @@ COMPILER_STRIP_GATE(0x80B4CE40, &lit_4031);
/* 80B4CE44-80B4CE48 0000A0 0004+00 0/1 0/0 0/0 .rodata @4032 */
#pragma push
#pragma force_active on
-SECTION_RODATA static f32 const lit_4032 = -1000000000.0f;
+SECTION_RODATA static f32 const lit_4032 = -G_CM3D_F_INF;
COMPILER_STRIP_GATE(0x80B4CE44, &lit_4032);
#pragma pop