1
0
Fork 0

Fix a compiler warning

This commit is contained in:
James Turner 2023-04-13 13:20:05 +01:00
parent 5a08bcf796
commit 2915b6a394

View file

@ -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")) {