forked from github/server
"Übergabe an TEMP hat nicht geklappt" Keine GIB ausfuehren, wenn die Einheit 0 Personen hat.
This commit is contained in:
parent
eedb4e1ae9
commit
51f0aacb96
|
@ -1067,6 +1067,7 @@ economics(region *r)
|
|||
for (u = r->units; u; u = u->next) {
|
||||
order * ord;
|
||||
boolean destroyed = false;
|
||||
if (u->number>0) {
|
||||
for (ord = u->orders; ord; ord = ord->next) {
|
||||
switch (get_keyword(ord)) {
|
||||
case K_DESTROY:
|
||||
|
@ -1089,6 +1090,7 @@ economics(region *r)
|
|||
if (u->orders==NULL) break;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* RECRUIT orders */
|
||||
|
||||
for (u = r->units; u; u = u->next) {
|
||||
|
|
Loading…
Reference in New Issue