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:
committed by
Pasi Kallinen
parent
0b2b0965a8
commit
f57588cef1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user