mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
sandworms no longer explode in 3D
This commit is contained in:
parent
8da3556448
commit
5c42c2f8e5
3
game.cpp
3
game.cpp
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user