diff --git a/Source/missiles.cpp b/Source/missiles.cpp index ff14522853a..d0d58fdb9e5 100644 --- a/Source/missiles.cpp +++ b/Source/missiles.cpp @@ -206,7 +206,7 @@ bool MonsterMHit(const Player &player, int monsterId, int mindam, int maxdam, in { auto &monster = Monsters[monsterId]; - if (!monster.isPossibleToHit() || monster.isImmune(t, damageType) || monster.belongsToPlayer(player) || (monster.isPlayerMinion() && sgGameInitInfo.bFriendlyFire == 0 && player.friendlyMode)) + if (!monster.isPossibleToHit() || monster.isImmune(t, damageType) || !monster.canPlayerDamage(player)) return false; int hit = RandomIntLessThan(100);