mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
Prevent dice overlap after an animated die rolls away
This commit is contained in:
parent
8c6aba5f6f
commit
ecfbe7de49
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user