add a dummy entry to the S_music[] array for the NUMMUSIC counter

This fixes a crash when changing music from a MUSINFO track.
This commit is contained in:
Fabian Greffrath 2021-03-14 13:28:24 +01:00
parent e2aeedc6ab
commit fbc8421753

View File

@ -106,6 +106,7 @@ musicinfo_t S_music[] = {
{ "read_m", 0 }, { "read_m", 0 },
{ "dm2ttl", 0 }, { "dm2ttl", 0 },
{ "dm2int", 0 }, { "dm2int", 0 },
{ NULL, 0 }, // NUMMUSIC
{ "musinfo", 0 } { "musinfo", 0 }
}; };