Removed teamDeathMatch, won't work.
This commit is contained in:
parent
3496ff251a
commit
ecd5c8df4a
|
@ -117,7 +117,6 @@ void loadChallenge(Mission *mission, cJSON *node)
|
||||||
mission->challengeData.clearWaypointEnemies = getJSONValue(node, "clearWaypointEnemies", 0);
|
mission->challengeData.clearWaypointEnemies = getJSONValue(node, "clearWaypointEnemies", 0);
|
||||||
mission->challengeData.eliminateThreats = getJSONValue(node, "eliminateThreats", 0);
|
mission->challengeData.eliminateThreats = getJSONValue(node, "eliminateThreats", 0);
|
||||||
mission->challengeData.isDeathMatch = getJSONValue(node, "isDeathMatch", 0);
|
mission->challengeData.isDeathMatch = getJSONValue(node, "isDeathMatch", 0);
|
||||||
mission->challengeData.isTeamDeathMatch = getJSONValue(node, "isTeamDeathMatch", 0);
|
|
||||||
|
|
||||||
node = cJSON_GetObjectItem(node, "challenges");
|
node = cJSON_GetObjectItem(node, "challenges");
|
||||||
|
|
||||||
|
|
|
@ -266,7 +266,6 @@ typedef struct {
|
||||||
int clearWaypointEnemies;
|
int clearWaypointEnemies;
|
||||||
int eliminateThreats;
|
int eliminateThreats;
|
||||||
int isDeathMatch;
|
int isDeathMatch;
|
||||||
int isTeamDeathMatch;
|
|
||||||
Challenge *challenges[MAX_CHALLENGES];
|
Challenge *challenges[MAX_CHALLENGES];
|
||||||
} ChallengeData;
|
} ChallengeData;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue