From 4dbb7707e770c3d2a2182729079c7b68f8b908ed Mon Sep 17 00:00:00 2001 From: wolfy852 Date: Fri, 10 Feb 2023 13:26:54 -0600 Subject: [PATCH] Have musname actually use MAXMUSNAMES dunno how I forgot this --- src/doomstat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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