Always set fighter entity type.
This commit is contained in:
parent
8c0b7fdb2f
commit
07d93b700f
|
@ -76,6 +76,7 @@ static void loadFighterDef(char *filename)
|
||||||
defTail->next = f;
|
defTail->next = f;
|
||||||
defTail = f;
|
defTail = f;
|
||||||
|
|
||||||
|
f->type = ET_FIGHTER;
|
||||||
f->active = 1;
|
f->active = 1;
|
||||||
|
|
||||||
root = cJSON_Parse(text);
|
root = cJSON_Parse(text);
|
||||||
|
|
Loading…
Reference in New Issue