From fd21788c4540c73c308a51353e89790550129c34 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 13 Mar 2002 15:55:32 +0000 Subject: [PATCH] Add "(" and ")" to ensure the expression is evaluated correctly. --- src/Sound/fg_sound.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sound/fg_sound.cxx b/src/Sound/fg_sound.cxx index c7184d885..318e05dec 100644 --- a/src/Sound/fg_sound.cxx +++ b/src/Sound/fg_sound.cxx @@ -375,7 +375,7 @@ FGSound::update (int dt) // // Do we need to start playing the sample? // - if (_active && (_type == FGSound::LEVEL) || (_type == FGSound::INVERTED)) + if (_active && ((_type == FGSound::LEVEL) || (_type == FGSound::INVERTED))) return; //