diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 007f2a62c..3bdf576c2 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -2313,7 +2313,7 @@ promotion_cmd(unit * u, struct order * ord) maxheroes(u->faction), countheroes(u->faction))); return 0; } - if (valid_race(u->faction, u->race)) { + if (!valid_race(u->faction, u->race)) { ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "heroes_race", "race", u->race)); return 0;