]> granicus.if.org Git - nethack/commit
C343-3 creation of the Ranger quest start level
authorcohrs <cohrs>
Sun, 12 Feb 2006 01:45:54 +0000 (01:45 +0000)
committercohrs <cohrs>
Sun, 12 Feb 2006 01:45:54 +0000 (01:45 +0000)
commit57c3fa60b7857508ee21cba0ef844f6a299d2cb5
tree762cd77152c14be54351575deda3ed1cd4022fae
parent3096fc47dc5afcde1619e7bc5e1823ce963c085a
C343-3 creation of the Ranger quest start level
Normal maze levels are initialized from x == 3 thru COLNO-1.  However,
levels that use the INIT_MAP spec go thru mkmap, which initializes the level
starting at x == 1.  This usually makes no difference, but does in the case
of levels that also use GEOMETRY:left.  This was the case with the Ranger
start level and caused the leftmost 2 locations to be room locations but
unreachable.  The Juiblex level actually had the same behavior, but this
was harmless because the MAP in that case was smaller.

Fix is to set the xstart=1 for levels with INIT_MAP and GEOMETRY:left.
The rest of sp_lev works just with this (when INIT_MAP was used, that is).
doc/fixes34.4
src/sp_lev.c