mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-09 23:50:08 +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(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; */
|
||||||
else if(from->wall == waThumperOn) ;
|
else if(from->wall == waThumperOn) ;
|
||||||
else if(passable_for(movtype, from, c, P_CHAIN | P_MONSTER)) ;
|
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)) {
|
else if(isMagneticPole(movtype)) {
|
||||||
// a special case here -- we have to ignore the illegality of
|
// a special case here -- we have to ignore the illegality of
|
||||||
// the 'second' move due to an adjacent opposite pole
|
// the 'second' move due to an adjacent opposite pole
|
||||||
|
Loading…
x
Reference in New Issue
Block a user