revert previous commit, this was a mistake

This commit is contained in:
Erik Hofman 2010-05-11 11:32:58 +02:00
parent b6ef5a0a3d
commit 1912444886

View File

@ -147,7 +147,7 @@ void SGSampleGroup::update( double dt ) {
ALboolean looping = sample->is_looping() ? AL_TRUE : AL_FALSE;
alSourcei( source, AL_LOOPING, looping );
alSourcef( source, AL_ROLLOFF_FACTOR, 0.3 );
alSourcei( source, AL_SOURCE_RELATIVE, AL_TRUE );
alSourcei( source, AL_SOURCE_RELATIVE, AL_FALSE );
alSourcePlay( source );
testForALError("sample play");
} else {