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 {