mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-01 07:51:21 +00:00
Updated paintedtime in OpenAL mode so shotgun sounds right
probably fixes other issues as well.
This commit is contained in:
parent
65914b342d
commit
efd85a76c6
2 changed files with 1 additions and 7 deletions
|
@ -342,7 +342,7 @@ void AL_Update( void ) {
|
|||
}
|
||||
*/
|
||||
|
||||
// paintedtime = cl.time; // FIXME: this does *not* make music work.
|
||||
paintedtime = cl.time;
|
||||
|
||||
// set listener parameters
|
||||
qalListener3f( AL_POSITION, AL_UnpackVector( listener_origin ) );
|
||||
|
@ -395,11 +395,6 @@ void AL_Update( void ) {
|
|||
S_AL_StreamUpdate();
|
||||
|
||||
AL_IssuePlaysounds();
|
||||
|
||||
//paintedtime = <begintime of last pending play>; ??
|
||||
// evtl paintedtime = soundtime falls paintedtime < soundtime - aber soundtime ist eigentlich DMA spezifisch
|
||||
// paintedtime = cl.time; FIXME: das allein reicht nicht damit musik funktioniert
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -877,7 +877,6 @@ S_ClearBuffer ( void )
|
|||
{
|
||||
clear = 0x80;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
clear = 0;
|
||||
|
|
Loading…
Reference in a new issue