CleverRaven / Cataclysm-DDA

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

Flying Polyp attacks spam z-level view violation #48818

Closed pehamm closed 3 years ago

pehamm commented 3 years ago

Describe the bug

Whenever a flying polyp is above an entity it is hostile to, it can try to attack the enemy below triggering a debug message "Z-level view violation: the flying polyp tried to attack the [monster]". In lab starts with tears in reality, this can quickly get spammy.

Reproduced with the latest experimental and the first 0.F candidate.

Steps To Reproduce

  1. Find or spawn a monster horde
  2. Spawn a flying polyp a Z-level above them
  3. Await the error messages

Expected behavior

No errors when polyps are attacking.

Versions and configuration