From 59c21a355ee8c515c1962906d2bdeadaf72d2d37 Mon Sep 17 00:00:00 2001 From: Layla Marchant Date: Mon, 27 Jul 2020 13:44:35 -0400 Subject: [PATCH] Fixed too small of a limit for mission objective descriptions. It was causing rendering bugs (due to the lack of a \0 terminator) with the Japanese translation. --- src/mission.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mission.h b/src/mission.h index 5292fe1..bd544c4 100644 --- a/src/mission.h +++ b/src/mission.h @@ -25,14 +25,14 @@ along with this program. If not, see . typedef struct Mission_ { - char primaryObjective[3][50]; // Description + char primaryObjective[3][STRMAX]; // Description int primaryType[3]; // The type of mission this is int target1[3]; // index of target in aliens array int targetValue1[3]; // Number of things to collect (slaves, cash, etc) int timeLimit1[3]; // In minutes int completed1[3]; - char secondaryObjective[3][50]; // Description + char secondaryObjective[3][STRMAX]; // Description int secondaryType[3]; // The type of mission this is int target2[3]; // index of target in aliens array int targetValue2[3]; // Number of things to collect (slaves, cash, etc)