reduce the scope of those

only this function needs those
This commit is contained in:
Alug committed 2024-12-05 08:08:00 +01:00
1 parent d519f9cf06
commit 9805b03533
1 file changed
+3 -2
+3 -2
View File
@@ -1992,8 +1992,6 @@ boolean S_FadeOutStopMusic(UINT32 ms)
return false;
}*/
static INT16 oldmap = 0;
static boolean oldencore = false;
static boolean skipmusic = false;
boolean skipintromus = false;
@@ -2034,6 +2032,9 @@ static void S_CheckEventMus(const char *newmus)
//makes tunes work and stuff
void S_CheckMap(void)
{
static INT16 oldmap = 0;
static boolean oldencore = false;
if (!cv_keepmusic.value)
{
keepmusic = false;