CleverRaven / Cataclysm-DDA

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

Strange overmap reveals after peeking up a z-level #73736

Open DragonWizard23 opened 2 months ago

DragonWizard23 commented 2 months ago

Describe the bug

My character was exploring a sewer system and decided to peek up a ladder instead of climbing it directly (I suspected there would be several zombies). However, this revealed the surrounding overmap tiles at the sewer z-level, which was unexpected.

Attach save file

2024-03-31-trimmed.tar.gz

Steps to reproduce

  1. Enter a sewer
  2. Explore the sewer until you reach a ladder
  3. Peek up the ladder
  4. Check the map to see if it revealed nearby overmap tiles on the sewer z-level.

On this save, this behavior can be replicated by walking north to the next ladder and peeking up.

Expected behavior

I did not expect the sewer level overmap tiles to be revealed because the character has not seen them (they are also solid earth).

Screenshots

Nearby overmap tiles were revealed when peeking up a z-level. Screenshot (429)

Versions and configuration

Additional context

This bug does not cause the game to crash.

Amnestasia commented 2 months ago

After conducting a few test, can confirm that theres definitely something wrong with peeking z-levels as a whole, as this doesnt apply solely to sewer systems. The following two clips show my findings, and I imagine it also applies to other z-level switches.

https://github.com/CleverRaven/Cataclysm-DDA/assets/110217002/1dd15022-875d-495f-b80b-763a762bbbab

Amnestasia commented 2 months ago

/confirm