CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.26k stars 4.12k forks source link

Player and tracked vehicle position out of sync on map while driving #61293

Open sparr opened 1 year ago

sparr commented 1 year ago

Describe the bug

While driving a vehicle being tracked on the map, the center of the vehicle and the player might be on different OMTs which means they appear in different places on the map. This doesn't feel right.

Steps to reproduce

  1. (e)xamine a vehicle and (K)eep track of it on the map
  2. (^)drive that vehicle
  3. Check the map each tick until the player has just barely crossed an OMT boundary
  4. See player in different OMT from vehicle (whose center is probably a tile or two behind the player)

Expected behavior

Either the vehicle appears in the same tile as the player, or the tracking is temporarily disabled while driving the vehicle.

Screenshots

Screenshot_2022-09-26_14-55-05

Versions and configuration

Additional context

No response

sparr commented 1 year ago

This happens with a 3-tile bicycle where I am driving from the center tile. I am unsure if that tile is the origin of the bicycle's components, but if it is then that represents some different failure mode. Perhaps there's also an issue of the vehicle's position on the map being a turn out of date?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not \'bump\' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

Maleclypse commented 1 year ago

Confirmed on discord by Renech

kevingranade commented 1 year ago

I'm not clear what the problem is, this feature allows you to find your vehicle, and this behavior does not prevent that.

sparr commented 1 year ago

It could be considered just a visual glitch. It doesn't break gameplay, just causes the UI to be inconsistent with the game state.