Have musname actually use MAXMUSNAMES

dunno how I forgot this
This commit is contained in:
wolfy852 2023-02-10 13:26:54 -06:00
parent b089696021
commit 4dbb7707e7

View file

@ -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