summaryrefslogtreecommitdiff
path: root/src/code/z_play.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_play.c')
-rw-r--r--src/code/z_play.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c
index 49a902547..ae387114f 100644
--- a/src/code/z_play.c
+++ b/src/code/z_play.c
@@ -2316,8 +2316,8 @@ void Play_Init(GameState* thisx) {
// Busyloop until the room loads
while (!Room_ProcessRoomRequest(this, &this->roomCtx)) {}
- if ((CURRENT_DAY != 0) && ((this->roomCtx.curRoom.behaviorType1 == ROOM_BEHAVIOR_TYPE1_1) ||
- (this->roomCtx.curRoom.behaviorType1 == ROOM_BEHAVIOR_TYPE1_5))) {
+ if ((CURRENT_DAY != 0) &&
+ ((this->roomCtx.curRoom.type == ROOM_TYPE_DUNGEON) || (this->roomCtx.curRoom.type == ROOM_TYPE_BOSS))) {
Actor_Spawn(&this->actorCtx, this, ACTOR_EN_TEST4, 0.0f, 0.0f, 0.0f, 0, 0, 0, 0);
}