From 1828cf252bd4860f2ecd989fd0a73c23050f0c14 Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Wed, 25 Aug 2021 14:17:08 +0000 Subject: [PATCH] Fix vs2013 compilation errors (by rftr). git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9155 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Strategic/Rebel Command.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Strategic/Rebel Command.h b/Strategic/Rebel Command.h index f409b3ac..7a4d3232 100644 --- a/Strategic/Rebel Command.h +++ b/Strategic/Rebel Command.h @@ -88,8 +88,8 @@ typedef struct DirectiveSaveInfo { typedef struct RegionSaveInfo { RegionAdminStatus adminStatus = RAS_NONE; - RebelCommandAdminActions actions[REBEL_COMMAND_MAX_ACTIONS_PER_REGION] = { RCAA_SUPPLY_LINE, RCAA_NONE, RCAA_NONE, RCAA_NONE, RCAA_NONE, RCAA_NONE, }; - UINT8 actionLevels[REBEL_COMMAND_MAX_ACTIONS_PER_REGION] = { 0, 0, 0, 0, 0, 0 }; + RebelCommandAdminActions actions[REBEL_COMMAND_MAX_ACTIONS_PER_REGION]; + UINT8 actionLevels[REBEL_COMMAND_MAX_ACTIONS_PER_REGION]; UINT8 ubMaxLoyalty = 50; INT32 GetAdminDeployCost(INT16 numAdminTeams) { return 10 * numAdminTeams * numAdminTeams; };