1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

Pushing a thumper through a boat is no longer allowed.

The old behavior was that you could push a thumper onto a stranded
boat, which would destroy the stranded boat.
This commit is contained in:
Arthur O'Dwyer 2017-12-24 00:41:02 -08:00
parent c611131f5a
commit 62d4aa50ac

View File

@ -6270,7 +6270,7 @@ void pushThumper(cell *th, cell *cto) {
}
bool canPushThumperOn(cell *tgt, cell *thumper, cell *player) {
if(tgt->wall == waBoat) return false;
if(tgt->wall == waBoat || tgt->wall == waStrandedBoat) return false;
if(isReptile(tgt->wall)) return false;
if(isWatery(tgt) && !tgt->monst)
return true;