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-09-27 18:54:14 +03:00
committed by Pasi Kallinen
parent 0b2b0965a8
commit f57588cef1
+1 -1
View File
@@ -2686,7 +2686,7 @@ fill_special_room(croom, prefilled)
struct mkroom *croom; struct mkroom *croom;
boolean prefilled; boolean prefilled;
{ {
if (!croom || croom->rtype == OROOM) if (!croom || croom->rtype == OROOM || croom->rtype == THEMEROOM)
return; return;
if (!prefilled) { if (!prefilled) {