From: curt Date: Wed, 13 Mar 2002 15:55:32 +0000 (+0000) Subject: Add "(" and ")" to ensure the expression is evaluated correctly. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd21788c4540c73c308a51353e89790550129c34;p=flightgear.git Add "(" and ")" to ensure the expression is evaluated correctly. --- 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; //