]> git.mxchange.org Git - simgear.git/commitdiff
revert previous commit, this was a mistake
authorErik Hofman <erik@raptor.lan>
Tue, 11 May 2010 09:32:58 +0000 (11:32 +0200)
committerErik Hofman <erik@raptor.lan>
Tue, 11 May 2010 09:32:58 +0000 (11:32 +0200)
simgear/sound/sample_group.cxx

index 4f64768cf7d61485ba07d69ed884fedb468ba9c6..e2a2b2c73188894f89daeca7316ebd5946ff5910 100644 (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 {