diff --git a/src/galaxy/mission.c b/src/galaxy/mission.c index 9f761ea..14844eb 100644 --- a/src/galaxy/mission.c +++ b/src/galaxy/mission.c @@ -588,6 +588,7 @@ static void loadEntities(cJSON *node) y = (cJSON_GetObjectItem(node, "y")->valuedouble / BATTLE_AREA_CELLS) * BATTLE_AREA_HEIGHT; name = NULL; groupName = NULL; + flags = -1; name = getJSONValueStr(node, "name", NULL); groupName = getJSONValueStr(node, "groupName", NULL);