Allow hasSuspicionLevel to be specified in mission file.

This commit is contained in:
Steve 2016-05-20 09:52:45 +01:00
parent e5092291d3
commit 6afbc40d6c
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ void loadMission(char *filename)
battle.manualComplete = getJSONValue(root, "manualComplete", 0); battle.manualComplete = getJSONValue(root, "manualComplete", 0);
battle.unwinnable = getJSONValue(root, "unwinnable", 0); battle.unwinnable = getJSONValue(root, "unwinnable", 0);
battle.waypointAutoAdvance = getJSONValue(root, "waypointAutoAdvance", 0); battle.waypointAutoAdvance = getJSONValue(root, "waypointAutoAdvance", 0);
battle.hasSuspicionLevel = getJSONValue(root, "hasSuspicionLevel", 0);
initScript(root); initScript(root);