+
+// Restore the saved initial state, if any
+void
+FGGlobals::restoreInitialState ()
+{
+ if (initial_state == 0) {
+ SG_LOG(SG_GENERAL, SG_ALERT, "No initial state available to restore!!!");
+ } else if (!copyProperties(initial_state, props)) {
+ SG_LOG(SG_GENERAL, SG_INFO,
+ "Some errors restoring initial state (probably just read-only props)");
+ } else {
+ SG_LOG(SG_GENERAL, SG_INFO, "Initial state restored successfully");
+ }
+}
+
+
+// end of globals.cxx