mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-28 06:08:14 +00:00
fixed generating monsters on the player in some geometries
This commit is contained in:
parent
b38caa0ec8
commit
b731796ab4
@ -355,6 +355,7 @@ EX void wandering() {
|
|||||||
int i = first7 + hrand(isize(dcal) - first7);
|
int i = first7 + hrand(isize(dcal) - first7);
|
||||||
cell *c = dcal[i];
|
cell *c = dcal[i];
|
||||||
if(inmirror(c)) continue;
|
if(inmirror(c)) continue;
|
||||||
|
if(isPlayerOn(c)) break;
|
||||||
|
|
||||||
if(specialland == laStorms) {
|
if(specialland == laStorms) {
|
||||||
// place the sandstone wall completely randomly (but not on the player)
|
// place the sandstone wall completely randomly (but not on the player)
|
||||||
|
Loading…
Reference in New Issue
Block a user