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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user