Entferne ein unnötiges Anpassen von s_khz

This commit is contained in:
Yamagi Burmeister 2010-11-01 15:54:56 +00:00
parent 758d82fe4c
commit e98ad4b925

View file

@ -502,16 +502,6 @@ SCR_PlayCinematic(char *arg) {
Huff1TableInit();
/* switch up to 22 khz sound if necessary */
old_khz = Cvar_VariableValue("s_khz");
if (old_khz != cin.s_rate / 1000) {
cin.restart_sound = true;
Cvar_SetValue("s_khz", cin.s_rate / 1000);
CL_Snd_Restart_f();
Cvar_SetValue("s_khz", old_khz);
}
cl.cinematicframe = 0;
cin.pic = SCR_ReadNextFrame();
cl.cinematictime = Sys_Milliseconds();