From 17a0b2214b51bc4c34e1be17cfca004591be05cd Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 12 Sep 2022 20:45:30 +0300 Subject: [PATCH] Call rebuild_vehicle_level_caches in grabbed_veh_move (#60911) --- src/grab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grab.cpp b/src/grab.cpp index a477f4a516828..265127d4c9cab 100644 --- a/src/grab.cpp +++ b/src/grab.cpp @@ -193,6 +193,7 @@ bool game::grabbed_veh_move( const tripoint &dp ) u.grab_point = next_grab; m.displace_vehicle( *grabbed_vehicle, final_dp_veh ); + m.rebuild_vehicle_level_caches(); if( grabbed_vehicle ) { m.level_vehicle( *grabbed_vehicle );