tung / DynaHack

A NetHack variant with randomized equipment, new items, new monsters, new maps, new challenges and an advanced ASCII interface.
https://tung.github.io/DynaHack/
48 stars 4 forks source link

Panic at game start when Dragon Caves aren't generated #66

Closed tung closed 11 years ago

tung commented 11 years ago

The Dragon Caves only occur in 75% of games according to dungeon.def, but dname_to_dnum() called in init_dungeons() panics if it can't find the branch. It's needed to set dragon_dnum so that so that the In_dragon() macro gives "The heat and smoke are gone" message when entering it from Gehennom. I'll need to find an alternative solution that will always work.