TEMP-Einheiten mit UFL_NEW markieren

This commit is contained in:
Enno Rehling 2004-06-13 16:56:40 +00:00
parent 3772cdda43
commit 2b36ba65e0
1 changed files with 1 additions and 0 deletions

View File

@ -3147,6 +3147,7 @@ new_units (void)
name = getstrtoken();
if (name && strlen(name)==0) name = NULL;
u2 = create_unit(r, u->faction, 0, u->faction->race, alias, name, u);
fset(u2, UFL_ISNEW);
a_add(&u2->attribs, a_new(&at_alias))->data.i = alias;