Updated paintedtime in OpenAL mode so shotgun sounds right

probably fixes other issues as well.
This commit is contained in:
Daniel Gibson 2012-04-22 20:14:56 +00:00
parent 65914b342d
commit efd85a76c6
2 changed files with 1 additions and 7 deletions

View file

@ -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
}
/*

View file

@ -877,7 +877,6 @@ S_ClearBuffer ( void )
{
clear = 0x80;
}
else
{
clear = 0;