Orb of Freedom takes Rose scent into account

This commit is contained in:
Zeno Rogue 2019-04-05 13:43:04 +02:00
parent beeeb7c23b
commit 6a8d2b9046
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ void checkFreedom(cell *cf) {
// todo leader
if(cl.listed(c2)) continue;
if(!passable(c2, c, P_ISPLAYER | P_MIRROR | P_LEADER)) continue;
if(againstRose(c, c2) && !scentResistant()) continue;
if(c2->wall == waArrowTrap && c2->wparam == 2) continue;
bool monsterhere = false;
for(int j=0; j<c2->type; j++) {