dont keep music if there is no music
This commit is contained in:
1 parent
de8ffbfd60
commit
6b5517ee2c
1 file changed
+1
-1
+1
-1
@@ -2000,7 +2000,7 @@ void S_CheckMap(void)
|
||||
return;
|
||||
}
|
||||
|
||||
keepmusic = (!skipmusic && gamestate == GS_LEVEL && oldmap == gamemap && oldencore == encoremode);
|
||||
keepmusic = (!skipmusic && (gamestate == GS_LEVEL) && (music_name[0] != 0) && (oldmap == gamemap) && (oldencore == encoremode));
|
||||
|
||||
//CONS_Printf("keepmusic = %s\n", keepmusic);
|
||||
|
||||
|
||||
Reference in new issue
Block a user