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:
parent
c611131f5a
commit
62d4aa50ac
2
game.cpp
2
game.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user