NitroHack icon indicating copy to clipboard operation
NitroHack copied to clipboard

search_door() in sp_lev.c uses global level pointer instead of level being made

Open tung opened this issue 13 years ago • 0 comments

search_door() is called during level creation (or would be if any special levels used the CORRIDOR statement) but uses the global level pointer instead of a pointer to the level being made, which needs to be sent in by create_corridor().

Fix here from my experimental branch.

tung avatar Jun 06 '12 10:06 tung