1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-02 10:48:04 +00:00

dice:: shapes for other geometries

This commit is contained in:
Zeno Rogue
2021-05-29 15:46:35 +02:00
parent 2973cada6d
commit e819552986
5 changed files with 96 additions and 17 deletions

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;