- Einheitenzählerfix

This commit is contained in:
Christian Schlittchen 2002-03-31 16:49:49 +00:00
parent 3b1304b330
commit 5811f7ac79
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ destroy_unit(unit * u)
item ** p_item = &u->items; item ** p_item = &u->items;
unit * u3; unit * u3;
u->faction->no_units--; /* u->faction->no_units--; */ /* happens in u_setfaction now */
if (r) for (u3 = r->units; u3; u3 = u3->next) { if (r) for (u3 = r->units; u3; u3 = u3->next) {
if (u3 != u && u3->faction == u->faction && playerrace(u3->race)) { if (u3 != u && u3->faction == u->faction && playerrace(u3->race)) {