From 6a116ee59c0d6ac7dda164efd9da25fa7cc7727e Mon Sep 17 00:00:00 2001 From: Sean Hunt Date: Thu, 9 Apr 2015 13:50:11 -0400 Subject: [PATCH] Restore the insect legs on Baalzebub's level. --- src/sp_lev.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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(); -- 2.50.1