From 463e874520f31bcde356740cddc9661f2b4d8f00 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 5 Apr 2019 13:44:04 +0200 Subject: [PATCH] fixed Friendly Ivy attacking non-attackable monsters --- orbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbs.cpp b/orbs.cpp index 0399594e..cf8fa7a6 100644 --- a/orbs.cpp +++ b/orbs.cpp @@ -1083,7 +1083,7 @@ eItem targetRangedOrb(cell *c, orbAction a) { if(cf->monst == moFriendlyIvy) { if(c->monst) { - if(!canAttack(c, c->monst, cf, moFriendlyIvy, 0)) continue; + if(!canAttack(cf, moFriendlyIvy, c, c->monst, 0)) continue; if(monstersnear(cwt.at, c, moPlayer, NULL, cwt.at)) continue; } else {