Kein NEUSTART für junge Parteien mehr.

This commit is contained in:
Enno Rehling 2005-04-14 21:26:02 +00:00
parent 799ecdac31
commit 462e2e1843
1 changed files with 5 additions and 4 deletions

View File

@ -996,15 +996,16 @@ restart_cmd(unit * u, struct order * ord)
s_pass = getstrtoken(); s_pass = getstrtoken();
} }
if (frace != u->faction->race && u->faction->age < 81) {
cmistake(u, ord, 241, MSG_EVENT);
return 0;
}
if (u->faction->age > 3 && fval(u->faction, FFL_RESTART)) { if (u->faction->age > 3 && fval(u->faction, FFL_RESTART)) {
cmistake(u, ord, 314, MSG_EVENT); cmistake(u, ord, 314, MSG_EVENT);
return 0; return 0;
} }
if (/* frace != u->faction->race && */ u->faction->age < 81) {
cmistake(u, ord, 241, MSG_EVENT);
return 0;
}
if (!playerrace(frace)) { if (!playerrace(frace)) {
cmistake(u, ord, 243, MSG_EVENT); cmistake(u, ord, 243, MSG_EVENT);
return 0; return 0;