mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 14:30:48 +00:00
OpenAL: fix lagging audio when leaving the menu.
This commit is contained in:
parent
3d2ff6795d
commit
4d201b3ff0
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ AL_Update(void)
|
||||||
channel_t *ch;
|
channel_t *ch;
|
||||||
vec_t orientation[6];
|
vec_t orientation[6];
|
||||||
|
|
||||||
paintedtime = cl.time;
|
paintedtime = cls.realtime;
|
||||||
|
|
||||||
/* set listener (player) parameters */
|
/* set listener (player) parameters */
|
||||||
AL_CopyVector(listener_forward, orientation);
|
AL_CopyVector(listener_forward, orientation);
|
||||||
|
|
Loading…
Reference in a new issue