1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-27 21:58:13 +00:00

Prevent dice overlap after an animated die rolls away

This commit is contained in:
Jesse Ruderman 2021-07-20 05:39:52 -07:00
parent 8c6aba5f6f
commit ecfbe7de49

View File

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