diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index 3fca4a8b..2e19401e 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -64,13 +64,13 @@ SGTime::SGTime( const string& root ) { - if (cur_time_params) { + /* if (cur_time_params) { FG_LOG( FG_GENERAL, FG_ALERT, "Error: only one instance of SGTime allowed" ); exit(-1); - } + } */ - cur_time_params = this; + // cur_time_params = this; FGPath zone( root ); zone.append( "Timezone" ); @@ -475,4 +475,4 @@ char* SGTime::format_time( const struct tm* p, char* buf ) } -SGTime* SGTime::cur_time_params = 0; +// SGTime* SGTime::cur_time_params = 0; diff --git a/simgear/timing/sg_time.hxx b/simgear/timing/sg_time.hxx index 8acd4293..488937f2 100644 --- a/simgear/timing/sg_time.hxx +++ b/simgear/timing/sg_time.hxx @@ -131,7 +131,7 @@ public: void utc_gst(); double sidereal_precise (double lng); double sidereal_course(double lng); - static SGTime *cur_time_params; + // static SGTime *cur_time_params; // Some other stuff which were changed to SGTime members on // questionable grounds -:)