Boats not updating player position and leaving the player behind after collision with creatures in water #53072
Labels
<Bug>
This needs to be fixed
Monsters
Monsters both friendly and unfriendly.
(S2 - Confirmed)
Bug that's been confirmed to exist
Vehicles
Vehicles, parts, mechanics & interactions
Describe the bug
Water vehicles sometimes don't update the player position, leaving the player behind and most likely resulting in death if they fall overboard. When this happens there is no feedback and it can't be prevented by seatbelts.
AFAICT, this is caused by the monsters not being pushed far enough from the boat when hit. If they are pushed to the same location the player should be after the boat moves, the player position isn't updated to prevent stacking multiple creatures on the same tile.
The code in
Cataclysm-DDA/src/vehicle_move.cpp
Line 837 in fdeff51
This block
Cataclysm-DDA/src/map.cpp
Line 1215 in fdeff51
Maybe someone with more knowledge of the vehicle code can find a proper solution.
Steps to reproduce
Expected behavior
Player isn't magically pulled from the seat when colliding with creatures in water.
Screenshots
No response
Versions and configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: