From b731796ab420e3289f378d21181afa46fd4b41fc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 22 Nov 2019 23:10:23 +0100 Subject: [PATCH] fixed generating monsters on the player in some geometries --- monstergen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/monstergen.cpp b/monstergen.cpp index 5f867b6b..042572d8 100644 --- a/monstergen.cpp +++ b/monstergen.cpp @@ -355,6 +355,7 @@ EX void wandering() { int i = first7 + hrand(isize(dcal) - first7); cell *c = dcal[i]; if(inmirror(c)) continue; + if(isPlayerOn(c)) break; if(specialland == laStorms) { // place the sandstone wall completely randomly (but not on the player)