PROMOTE fix

This commit is contained in:
Enno Rehling 2009-07-14 21:20:25 +00:00
parent e367c48ee2
commit 6c3d9bbfd8

View file

@ -2313,7 +2313,7 @@ promotion_cmd(unit * u, struct order * ord)
maxheroes(u->faction), countheroes(u->faction))); maxheroes(u->faction), countheroes(u->faction)));
return 0; 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", ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "heroes_race", "race",
u->race)); u->race));
return 0; return 0;