1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

sandworms no longer explode in 3D

This commit is contained in:
Zeno Rogue 2019-07-31 10:55:09 +02:00
parent 8da3556448
commit 5c42c2f8e5

View File

@ -4541,6 +4541,9 @@ void moveWorm(cell *c) {
if(mounted) mf ^= (MF_MOUNT | MF_PATHDIST);
// without this, in 3D geometries, Sandworms explode because no land around them is generated yet
forCellCM(c2, c) setdist(c2, 8, c);
int dir = pickMoveDirection(c, mf);
if(c->wall == waRose) {