1
0
Fork 0

Add "(" and ")" to ensure the expression is evaluated correctly.

This commit is contained in:
curt 2002-03-13 15:55:32 +00:00
parent 6cca1d6a75
commit fd21788c45

View 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;
//