mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-16 11:08:05 +00:00
canPushStatueOn also disabled for other 'do not touch' walls
This commit is contained in:
@@ -418,7 +418,8 @@ EX bool canPushStatueOn(cell *c, flagtype flags) {
|
|||||||
return passable(c, NULL, P_MONSTER | flags) && !snakelevel(c) &&
|
return passable(c, NULL, P_MONSTER | flags) && !snakelevel(c) &&
|
||||||
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on &&
|
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on &&
|
||||||
!cellHalfvine(c) && !isDie(c->wall) &&
|
!cellHalfvine(c) && !isDie(c->wall) &&
|
||||||
!among(c->wall, waBoat, waFireTrap, waArrowTrap, waBarrier);
|
!among(c->wall, waBoat, waFireTrap, waArrowTrap) &&
|
||||||
|
!do_not_touch_this_wall(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
EX void moveBoat(const movei& mi) {
|
EX void moveBoat(const movei& mi) {
|
||||||
|
|||||||
Reference in New Issue
Block a user