From 907befe776cfd9ddd59b22ecc1bec0d97e740cca Mon Sep 17 00:00:00 2001 From: GuardianDll Date: Sun, 31 Aug 2025 10:00:15 +0200 Subject: [PATCH] fix grabbing dig you down --- src/mattack_actors.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/mattack_actors.cpp b/src/mattack_actors.cpp index 3c802e4b96fd9..ba765c0bd4254 100644 --- a/src/mattack_actors.cpp +++ b/src/mattack_actors.cpp @@ -566,17 +566,6 @@ int melee_actor::do_grab( monster &z, Creature *target, bodypart_id bp_id ) cons if( foe->in_vehicle ) { here.unboard_vehicle( target_pos ); } - - if( foe->is_avatar() && ( pt.x() < HALF_MAPSIZE_X || pt.y() < HALF_MAPSIZE_Y || - pt.x() >= HALF_MAPSIZE_X + SEEX || pt.y() >= HALF_MAPSIZE_Y + SEEY ) ) { - const tripoint_abs_ms pt_abs = here.get_abs( - pt ); // Could have used the result from update_map to shift the value instead. - g->update_map( pt.x(), pt.y() ); - // update_map invalidates bubble positions on a shift. Refetch invalidated positions. - pt = here.get_bub( pt_abs ); - monster_pos = z.pos_bub( here ); - target_pos = target->pos_bub( here ); - } } // Don't try to fall mid pull