From 634d914bd9076dd97d00046ce709f9367db98a81 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 14 Mar 2016 11:28:19 +0000 Subject: [PATCH] Jumpgate initial state fix. --- src/galaxy/mission.c | 1 + 1 file changed, 1 insertion(+) 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);