Skip to content

Commit

Permalink
Enabled towing over ramps (#75346)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell authored Aug 5, 2024
1 parent 6ee8e16 commit 35e37f3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6732,12 +6732,6 @@ void vehicle::do_towing_move()
debugmsg( "tried to do towing move but towed vehicle has no towing part" );
invalidate = true;
}
if( towed_veh->global_pos3().z != global_pos3().z ) {
// how the hellicopter did this happen?
// yes, this can happen when towing over a bridge (see #47293)
invalidate = true;
add_msg( m_info, _( "A towing cable snaps off of %s." ), towed_veh->disp_name() );
}
if( invalidate ) {
invalidate_towing( true );
return;
Expand Down

0 comments on commit 35e37f3

Please sign in to comment.