d_a_mg_rod debug improvements (#2993)

This commit is contained in:
Max Roncace
2025-12-23 19:11:09 -05:00
committed by GitHub
parent e8c70fb18f
commit b384af2431
13 changed files with 937 additions and 867 deletions
+2 -2
View File
@@ -215,8 +215,8 @@ static obj_kbox_class* search_box(e_sg_class* i_this) {
static dmg_rod_class* search_esa(e_sg_class* i_this) {
dmg_rod_class* rod = (dmg_rod_class*)fopAcM_SearchByName(PROC_MG_ROD);
if (rod != NULL && rod->kind == 1 && rod->action != 5 && rod->field_0x100d != 0 &&
rod->actor.current.pos.y < rod->field_0x590 - 20.0f)
if (rod != NULL && rod->kind == 1 && rod->action != 5 && rod->is_hook_in_water != 0 &&
rod->actor.current.pos.y < rod->water_surface_y - 20.0f)
{
return rod;
}