DanielT / NitroHack

A fork of NetHack 3.4.3
nitrohack.org
21 stars 2 forks source link

Plane of Water displays objects and the portal as water #26

Open tung opened 12 years ago

tung commented 12 years ago

To see this in action, go to the Plane of Water and drop an item, and try to find the magic portal. They'll both be displayed as water, and are simply called "water" when far-looked.

The problem seems to be related to level->flags.hero_memory being false for that one level, and a lot of the new layered display code relies on that memory being set and updated with the flag as true. On the Plane of Water, the memory is set to just water tiles and isn't touched again while on the level.