mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
fixed birds not approaching the player in boats when shielded (and similar cases)
This commit is contained in:
parent
efa22ac125
commit
ee0c8fa253
2
game.cpp
2
game.cpp
@ -4989,7 +4989,7 @@ EX void groupmove2(cell *c, cell *from, int d, eMonster movtype, flagtype mf) {
|
||||
else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; */
|
||||
else if(from->wall == waThumperOn) ;
|
||||
else if(passable_for(movtype, from, c, P_CHAIN | P_MONSTER)) ;
|
||||
else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ;
|
||||
else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER | AF_NOSHIELD)) ;
|
||||
else if(isMagneticPole(movtype)) {
|
||||
// a special case here -- we have to ignore the illegality of
|
||||
// the 'second' move due to an adjacent opposite pole
|
||||
|
Loading…
Reference in New Issue
Block a user