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.
This commit is contained in:
Michael Meyer
2021-11-30 13:45:09 -05:00
committed by PatR
parent 7d84ea0605
commit ce2615a316

View File

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