forked from github/server
Kein NEUSTART für junge Parteien mehr.
This commit is contained in:
parent
799ecdac31
commit
462e2e1843
|
@ -996,15 +996,16 @@ restart_cmd(unit * u, struct order * ord)
|
|||
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)) {
|
||||
cmistake(u, ord, 314, MSG_EVENT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (/* frace != u->faction->race && */ u->faction->age < 81) {
|
||||
cmistake(u, ord, 241, MSG_EVENT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!playerrace(frace)) {
|
||||
cmistake(u, ord, 243, MSG_EVENT);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue