dice:: shapes for other geometries

This commit is contained in:
Zeno Rogue committed 2021-06-01 13:07:55 +02:00
1 parent 2973cada6d
commit e819552986
5 files changed
+96 -17

No files matched your search

+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;