Scatter bug fix for entities.

This commit is contained in:
Steve 2015-11-29 16:30:59 +00:00
parent eb894f9703
commit d3b0755f8b
1 changed files with 1 additions and 2 deletions

View File

@ -289,8 +289,6 @@ static void loadEntities(cJSON *node)
int i, type, scatter, number, active;
float x, y;
scatter = 1;
if (node)
{
node = node->child;
@ -305,6 +303,7 @@ static void loadEntities(cJSON *node)
groupName = NULL;
number = 1;
active = 1;
scatter = 1;
if (cJSON_GetObjectItem(node, "name"))
{