sandworms no longer explode in 3D

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:10 +02:00
1 parent 8da3556448
commit 5c42c2f8e5
1 file changed
+3
+3
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) {