diff --git a/src/p_spec.c b/src/p_spec.c index 6709515201c5343d2970e993dacdbf309568a34f..169f129b9589834bb1ecd44a98e8060d5eb49380 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2561,11 +2561,13 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) // Change the music and apply position/fade operations else { - if (!line->stringargs[0]) - break; - - strncpy(mapmusname, line->stringargs[0], 7); - mapmusname[6] = 0; + if (!line->stringargs[0] || !strcmp(line->stringargs[0], "-")) + strcpy(mapmusname, ""); + else + { + strncpy(mapmusname, line->stringargs[0], 7); + mapmusname[6] = 0; + } mapmusflags = tracknum & MUSIC_TRACKMASK; if (!(line->args[0] & TMM_NORELOAD))