CleverRaven / Cataclysm-DDA

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

Prison with hidden lab can get parts rotated. #74725

Closed PatrikLundell closed 3 months ago

PatrikLundell commented 4 months ago

Describe the bug

After 3D mapgen was introduced, I've discovered that prisons with hidden labs beneath them can get parts of the prison rotated. This does not seem to affect regular prisons, nor debug spawned prisons without any lab beneath them, so it seems to be related to mutables, somehow.

Attach save file

Brownton-trimmed.tar.gz

Steps to reproduce

  1. Teleport around until you find a prison with a hidden lab beneath it.
  2. Teleport to the lab.
  3. See that sections are rotated.

With the save provided, such a lab is located to the SE.

Expected behavior

Nothing should be out of alignment.

Screenshots

No response

Versions and configuration

Additional context

The bug report is posted in order to save others the task of generating a bug report.

RobertoRobot commented 4 months ago

I also discovered some partially rotating overmap, such as hunting lodge and New England church.

Snipaste_2024-06-23_09-23-40

Snipaste_2024-06-23_09-26-54

PatrikLundell commented 4 months ago

Thanks. I'll take a look at it, but I suspect that's a different rotation bug handled by #74703 (which wasn't merged when you reported the above).