Fix empty position music header field pointing to garbage string

This commit is contained in:
SteelT 2023-03-31 15:39:19 -04:00
parent 78b4b6f5ec
commit 5020e564e2

View file

@ -391,6 +391,7 @@ static void P_ClearSingleMapHeaderInfo(INT16 num)
mapheaderinfo[num]->keywords[0] = '\0';
mapheaderinfo[num]->musname[0][0] = 0;
mapheaderinfo[num]->musname_size = 0;
mapheaderinfo[num]->positionmus[0] = '\0';
mapheaderinfo[num]->associatedmus[0][0] = 0;
mapheaderinfo[num]->associatedmus_size = 0;
mapheaderinfo[num]->mustrack = 0;