diff --git a/src/doomstat.h b/src/doomstat.h index 316e4a1a9..bf3c8576d 100644 --- a/src/doomstat.h +++ b/src/doomstat.h @@ -412,7 +412,7 @@ struct mapheader_t fixed_t gravity; ///< Map-wide gravity. // Music information - char musname[3][7]; ///< Music tracks to play. First dimension is the track number, second is the music string. "" for no music. + char musname[MAXMUSNAMES][7]; ///< Music tracks to play. First dimension is the track number, second is the music string. "" for no music. UINT16 mustrack; ///< Subsong to play. Only really relevant for music modules and specific formats supported by GME. 0 to ignore. UINT32 muspos; ///< Music position to jump to. UINT8 musname_size; ///< Number of music tracks defined