dice:: shapes for other geometries

This commit is contained in:
Zeno Rogue
2021-06-01 13:07:55 +02:00
parent 2973cada6d
commit e819552986
5 changed files with 96 additions and 17 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ EX void pushThumper(const movei& mi) {
EX bool canPushThumperOn(movei mi, cell *player) {
cell *thumper = mi.s;
cell *tgt = mi.t;
if(among(thumper->wall, waRichDie, waHappyDie) && ctof(tgt))
if(among(thumper->wall, waRichDie, waHappyDie) && !dice::can_roll(mi))
return false;
if(tgt->wall == waBoat || tgt->wall == waStrandedBoat) return false;
if(isReptile(tgt->wall)) return false;