mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 05:10:33 +00:00
Entferne ein unnötiges Anpassen von s_khz
This commit is contained in:
parent
758d82fe4c
commit
e98ad4b925
1 changed files with 0 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue