From 6694c1b281a142972fce587bd20cd82ee65ab38f Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Wed, 18 Mar 2026 01:38:05 -0400 Subject: Fix a bunch of compiler warnings and document several more bugs (#3130) --- src/d/actor/d_a_npc_gro.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/d/actor/d_a_npc_gro.cpp') diff --git a/src/d/actor/d_a_npc_gro.cpp b/src/d/actor/d_a_npc_gro.cpp index 20b432c1b0..317e043ff8 100644 --- a/src/d/actor/d_a_npc_gro.cpp +++ b/src/d/actor/d_a_npc_gro.cpp @@ -396,6 +396,9 @@ cPhs_Step daNpc_grO_c::create() { mType = getTypeFromParam(); + // !@bug home.angle.x is promoted to a 32-bit signed integer prior + // to being compared, so the compared value can never exceed + // SHORT_MAX and the condition always passes. if (home.angle.x != 0xFFFF) { mMsgNo = home.angle.x; } else { -- cgit v1.2.3