CleverRaven / Cataclysm-DDA

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

Debug teleporting from a moving vehicle messes up the cursor #59344

Open NetSysFire opened 2 years ago

NetSysFire commented 2 years ago

Describe the bug

It moves the cursor away from the center (to the position you see while driving) until you reset it.

Steps to reproduce

  1. Get any vehicle, in this case I used a superbike.
  2. Drive, then save and quit (while driving).
  3. Load it, debug long-range teleport somewhere far away, cursor is not in the center of screen anymore.

Expected behavior

Cursor position does not get messed up.

Also I suspect that quitting the game after teleporting a couple of times might also trigger #54886, although potentially not reliably. Might have something to do because sometimes the vehicle is teleported with you and part duplication happens?

Labelling with low priority because this is obviously an edge case a normal player will not encounter.

Screenshots

No response

Versions and configuration

Additional context

No response

anothersimulacrum commented 2 years ago

I'm not sure it's worth having issues for bugs caused by debug features.