Add "(" and ")" to ensure the expression is evaluated correctly.
This commit is contained in:
parent
6cca1d6a75
commit
fd21788c45
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ FGSound::update (int dt)
|
||||||
//
|
//
|
||||||
// Do we need to start playing the sample?
|
// 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;
|
return;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue