]> git.mxchange.org Git - flightgear.git/commitdiff
Add "(" and ")" to ensure the expression is evaluated correctly.
authorcurt <curt>
Wed, 13 Mar 2002 15:55:32 +0000 (15:55 +0000)
committercurt <curt>
Wed, 13 Mar 2002 15:55:32 +0000 (15:55 +0000)
src/Sound/fg_sound.cxx

index c7184d885efb9f4ef0e44aa2fc47e1453dfb48dd..318e05dec2de672ccd1214c07468d7a2676bf738 100644 (file)
@@ -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;
 
    //