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.
This commit is contained in:
copperwater
2020-05-17 21:47:10 -04:00
committed by Pasi Kallinen
parent 0b2b0965a8
commit f57588cef1

View File

@@ -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) {