Fix a compiler warning
This commit is contained in:
parent
5a08bcf796
commit
2915b6a394
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ bool guiInit(osg::GraphicsContext* gc)
|
|||
|
||||
void syncPausePopupState()
|
||||
{
|
||||
bool paused = fgGetBool("/sim/freeze/master",true) | fgGetBool("/sim/freeze/clock",true);
|
||||
bool paused = fgGetBool("/sim/freeze/master",true) || fgGetBool("/sim/freeze/clock",true);
|
||||
SGPropertyNode_ptr args(new SGPropertyNode);
|
||||
args->setStringValue("id", "sim-pause");
|
||||
if (paused && fgGetBool("/sim/view-name-popup")) {
|
||||
|
|
Loading…
Reference in a new issue