From: Sean Hunt Date: Thu, 9 Apr 2015 17:50:11 +0000 (-0400) Subject: Restore the insect legs on Baalzebub's level. X-Git-Tag: NetHack-3.6.0_RC01~480^2~18^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a116ee59c0d6ac7dda164efd9da25fa7cc7727e;p=nethack Restore the insect legs on Baalzebub's level. --- diff --git a/src/sp_lev.c b/src/sp_lev.c index 9eef34a0f..e23c98871 100644 --- a/src/sp_lev.c +++ b/src/sp_lev.c @@ -5163,7 +5163,14 @@ next_opcode: link_doors_rooms(); fill_rooms(); remove_boundary_syms(); - wallification(1, 0, COLNO-1, ROWNO-1); + /* FIXME: Ideally, we want this call to only cover areas of the map + * which were not inserted directly by the special level file (see + * the insect legs on Baalzebub's level, for instance). Since that + * is currently not possible, we overload the corrmaze flag for this + * purpose. + */ + if (!level.flags.corrmaze) + wallification(1, 0, COLNO-1, ROWNO-1); count_features();