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.
This commit is contained in:
Layla Marchant 2020-07-27 13:44:35 -04:00
parent 23b5c50a28
commit 59c21a355e
1 changed files with 2 additions and 2 deletions

View File

@ -25,14 +25,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
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)