When changing to same music, reset the internal volume
This commit is contained in:
parent
c021e29835
commit
67e2857303
|
@ -1523,6 +1523,11 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
|
||||||
I_SetSongPosition(position);
|
I_SetSongPosition(position);
|
||||||
I_FadeSong(100, fadeinms, NULL);
|
I_FadeSong(100, fadeinms, NULL);
|
||||||
}
|
}
|
||||||
|
else // reset volume to 100 with same music
|
||||||
|
{
|
||||||
|
I_StopFadingSong();
|
||||||
|
I_SetInternalMusicVolume(100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void S_StopMusic(void)
|
void S_StopMusic(void)
|
||||||
|
|
Loading…
Reference in New Issue