diff --git a/src/structures.h b/src/structures.h index 90208a65bc295bd104dbcc8c0c3dda388c75637e..b0574370103b95afd277c6a742e0aaa7db33c76b 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. */