From 40e177a02ef6c2c88d8587ea7343f2f71bb15f2f Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sat, 27 Aug 2011 12:00:17 +0200 Subject: [PATCH] #329: fix issue with mismatching sound volume Sounds played after changing view position sometimes had incorrect volume --- simgear/sound/sample_openal.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/sound/sample_openal.hxx b/simgear/sound/sample_openal.hxx index b2afba4f..b5267bb1 100644 --- a/simgear/sound/sample_openal.hxx +++ b/simgear/sound/sample_openal.hxx @@ -118,7 +118,7 @@ public: * @param _loop Define whether this sound should be played in a loop. */ void play( bool loop = false ) { - _playing = true; _loop = loop; _changed = true; + _playing = true; _loop = loop; _changed = true; _static_changed = true; } /** -- 2.39.5