From: copperwater Date: Mon, 18 May 2020 01:47:10 +0000 (-0400) Subject: Make fill_special_room avoid themed rooms X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f57588cef1d5a3b75dfd0d21a298e630e9eda8f6;p=nethack Make fill_special_room avoid themed rooms No code in this function would actually do anything if it were called on a themed room, but since it is pretty clearly intended for the "regular" special rooms, it's probably best to explicitly avoid themed rooms as well. --- diff --git a/src/sp_lev.c b/src/sp_lev.c index bf6096e32..b3b369c73 100755 --- a/src/sp_lev.c +++ b/src/sp_lev.c @@ -2686,7 +2686,7 @@ fill_special_room(croom, prefilled) struct mkroom *croom; boolean prefilled; { - if (!croom || croom->rtype == OROOM) + if (!croom || croom->rtype == OROOM || croom->rtype == THEMEROOM) return; if (!prefilled) {