From ce2615a316e9f69e48322368c4fdd31523c8d027 Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Tue, 30 Nov 2021 13:45:09 -0500 Subject: [PATCH] Fix: zoo monsters spawning in hallways If a random G_[SL]GROUP monster was generated in a zoo, the resulting group of monsters could spill out into nearby hallways and other surrounding areas. Disregard G_GROUP flags when filling a zoo with monsters to avoid this problem. --- src/mkroom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkroom.c b/src/mkroom.c index 652b9abb4..1e9de22c5 100644 --- a/src/mkroom.c +++ b/src/mkroom.c @@ -340,7 +340,7 @@ fill_zoo(struct mkroom* sroom) : (type == ANTHOLE) ? antholemon() : (struct permonst *) 0, - sx, sy, MM_ASLEEP); + sx, sy, MM_ASLEEP | MM_NOGRP); if (mon) { mon->msleeping = 1; if (type == COURT && mon->mpeaceful) {