From ef84402da1c26fc941fc205e554b4f313e331443 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 23 Jul 2004 07:33:24 +0000 Subject: [PATCH] How on earth???? Replace "and" by && and "or" by || to match C++ more closely........ --- src/Main/main.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 9588df0f4..c2f48b628 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1209,7 +1209,7 @@ static void fgMainLoop( void ) { if ( global_multi_loop > 0) { // first run the flight model each frame until it is intialized // then continue running each frame only after initial scenery load is complete. - if (!cur_fdm_state->get_inited() or fgGetBool("sim/sceneryloaded")) { + if (!cur_fdm_state->get_inited() || fgGetBool("sim/sceneryloaded")) { fgUpdateTimeDepCalcs(); } else { // only during scenery load @@ -1339,7 +1339,7 @@ static void fgMainLoop( void ) { // END Tile Manager udpates - if (!fgGetBool("sim/sceneryloaded") and globals->get_tile_mgr()->all_queues_empty() and cur_fdm_state->get_inited()) { + if (!fgGetBool("sim/sceneryloaded") && globals->get_tile_mgr()->all_queues_empty() && cur_fdm_state->get_inited()) { fgSetBool("sim/sceneryloaded",true); // probably not efficient way to popup msg, but is done only during scenery load NewGUI * gui = (NewGUI *)globals->get_subsystem("gui"); @@ -1512,7 +1512,7 @@ void fgReshape( int width, int height ) { // which happens in the sound manager destructor. void fgExitCleanup() { delete globals; - fgOSExit(0); +// fgOSExit(0); } -- 2.39.5