From 61a49ecc7cc743c72223d8273abf4a974136387d Mon Sep 17 00:00:00 2001 From: Romain Jegat <romain.jegat@insa-rennes.fr> Date: Sun, 24 Apr 2016 17:51:32 +0200 Subject: [PATCH] Reparation TerrainXML - Partie 2 --- src/structures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures.h b/src/structures.h index 90208a6..b057437 100644 --- a/src/structures.h +++ b/src/structures.h @@ -42,7 +42,7 @@ typedef enum {faux, vrai} boolean; * \brief Definition de la structure Type_terrain */ typedef struct Terrain{ - char nomTerrain[1];/*!< Nom du terrain. */ + char nomTerrain[TAILLE_NOMS];/*!< Nom du terrain. */ boolean franchissable;/*!< Le terrain est franchissable ou non par un personnage. */ boolean franchissable_sorts;/*!< Le terrain est franchissable ou non par un sort. */ unsigned short int PD_requis;/*!< Nombre de PD requis pour traverser le terrain. */ -- GitLab