]> git.mxchange.org Git - flightgear.git/blobdiff - src/Viewer/splash.cxx
Prepare and implement reinit methods for instruments
[flightgear.git] / src / Viewer / splash.cxx
index 78d79aa0b9101cfcd75ce6d40d4876eb61fe77fc..06adfccb539b4dbb38b9595cca6c448ff7946cad 100644 (file)
@@ -371,6 +371,10 @@ void fgSplashInit () {
 }
 
 void fgSplashProgress ( const char *text ) {
+  if (!strcmp(fgGetString("/sim/startup/splash-progress-text"), text)) {
+    return;
+  }
+  
   SG_LOG( SG_VIEW, SG_INFO, "Splash screen progress " << text );
   fgSetString("/sim/startup/splash-progress-text", text);
 }