]> git.mxchange.org Git - flightgear.git/commitdiff
only WARN if fgcommand "load" doesn't find the file; it returns the
authormfranz <mfranz>
Sat, 20 Jan 2007 23:06:44 +0000 (23:06 +0000)
committermfranz <mfranz>
Sat, 20 Jan 2007 23:06:44 +0000 (23:06 +0000)
success/failure result, and it's up to the caller to complain or ignore

src/Main/fg_commands.cxx

index 5c6af0b2b1d48ae576c031312989667c3ff25e06..e07295dde94397f830e767eec4d67527289d814c 100644 (file)
@@ -331,7 +331,7 @@ do_load (const SGPropertyNode * arg)
     SG_LOG(SG_INPUT, SG_INFO, "Restored flight from " << file);
     return true;
   } else {
-    SG_LOG(SG_INPUT, SG_ALERT, "Cannot load flight from " << file);
+    SG_LOG(SG_INPUT, SG_WARN, "Cannot load flight from " << file);
     return false;
   }
 }