summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-19 17:10:03 -0500
committerGitHub <noreply@github.com>2025-11-19 14:10:03 -0800
commit4cf2c7e37d08cc2ae9c0ef42435fc89ab87734e7 (patch)
tree881aa06a300da3bcb30d95a27a18a291463dc47a /src/d/actor/d_a_npc.cpp
parent8956be538efe0517dc2c5f1fbedee9fbed48115d (diff)
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch * d_a_obj_item OK * Fix ninja diff * Misc debug/nonmatching fixes * Fix ninja diff for PAL * Fix bad PAL split
Diffstat (limited to 'src/d/actor/d_a_npc.cpp')
-rw-r--r--src/d/actor/d_a_npc.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/d/actor/d_a_npc.cpp b/src/d/actor/d_a_npc.cpp
index 5bbea1652e..51d04925c8 100644
--- a/src/d/actor/d_a_npc.cpp
+++ b/src/d/actor/d_a_npc.cpp
@@ -467,12 +467,7 @@ int daNpcT_Path_c::chkPassed1(cXyz i_pnt, int i_num) {
cXyz next_pos;
cXyz sp5C;
-#if VERSION != VERSION_SHIELD_DEBUG
- // FIXME: fakematch. I literally don't know how else to get this to match....
- u16 cur_idx = get_u16_Idx();
-#else
- u16 cur_idx = getIdx();
-#endif
+ u16 cur_idx = (int)(u16)getIdx();
u16 prev_idx, next_idx;
prev_idx = next_idx = cur_idx;