From ecfbe7de496cc047f96bf743d3b404703df12af9 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Tue, 20 Jul 2021 05:39:52 -0700 Subject: [PATCH] Prevent dice overlap after an animated die rolls away --- landgen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index ae392a4c..3c66cc65 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -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; }