Detaching vehicle from bike rack gives carrier vehicle the wreckage
tag, disabling gap filling
#61297
Labels
(S1 - Need confirmation)
Report waiting on confirmation of reproducibility
Describe the bug
After detaching a carried vehicle from a bike rack, the carrier vehicle acquires the
wreckage
tag. The consequence is that gap-filling fake parts no longer appear when the carrier vehicle goes diagonal.Steps to reproduce
Expected behavior
Fake parts should appear as long as the vehicle is functional and can move and turn.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food]
]
Additional context
Here's saves from before and after removing a shopping cart off a rack. The
-after
save demonstrates the bug, and you can see thewreckage
tag get applied inmaps/-2.-6.0/-36.-169.0.map
.The relevant code seems to be in vehicle.cpp, in
vehicle::split_vehicles()
, called fromvehicle::remove_carried_vehicle()
The text was updated successfully, but these errors were encountered: