mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-04 11:19:58 -04:00
d_a_mg_rod debug improvements (#2993)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user