1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-28 22:10:40 +00:00

friends are no longer crushed when Empathy should protect them

This commit is contained in:
Zeno Rogue 2017-12-03 19:21:35 +01:00
parent 26569e799a
commit cc97572654

View File

@ -5876,7 +5876,7 @@ void placeGolem(cell *on, cell *moveto, eMonster m) {
addMessage(XLAT("There is no room for %the1!", m)); addMessage(XLAT("There is no room for %the1!", m));
return; return;
} }
if(passable(on, moveto, m == moTameBomberbird ? P_FLYING : 0)) if(passable(on, moveto, P_ISFRIEND | (m == moTameBomberbird ? P_FLYING : 0)))
on->monst = m; on->monst = m;
else { else {
on->monst = m; on->monst = m;