1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 01:16:50 +00:00

Merge pull request #256 from jruderman/dc_far

Prevent dice overlap after an animated die rolls away
This commit is contained in:
Zeno Rogue 2021-07-21 10:16:15 +02:00 committed by GitHub
commit 79bc004b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2587,8 +2587,9 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
case laDice: {
#if CAP_COMPLEX2
if(fargen)
if(fargen && !c->monst && !c->wall) {
dice::generate_full(c, items[itDice] + yendor::hardness());
}
#endif
break;
}