Skip to content

Commit

Permalink
bug 3048: cannot charm your own units.
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Jan 26, 2025
1 parent 633c18e commit 55dcb30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spells.c
Original file line number Diff line number Diff line change
Expand Up @@ -3469,6 +3469,7 @@ int sp_charmingsong(castorder * co)
if (target->faction == mage->faction) {
/* Die Einheit ist eine der unsrigen */
cmistake(mage, co->order, 45, MSG_MAGIC);
return 0;
}
/* niemand mit teurem Talent */
if (!can_charm(target, (int)(force / 2))) {
Expand Down

0 comments on commit 55dcb30

Please sign in to comment.