Merge branch 'fix-position-music' into 'master'

Fix empty position music header field pointing to garbage string

See merge request KartKrew/Kart!1129
This commit is contained in:
Sal 2023-04-01 20:04:24 +00:00
commit c4ee8301e8

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;