]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runwayprefs.cxx
Adding some more intelligence to the AI system step 2: Added a system to
[flightgear.git] / src / Airports / runwayprefs.cxx
index 1a7f1dd117d8f81f20389160dc66f248754e1763..60e7f0710456fcbf78baf1e029b396e81e0ae3e5 100644 (file)
@@ -566,11 +566,9 @@ void  FGRunwayPreference::pi (const char * target, const char * data) {
 }
 
 void  FGRunwayPreference::warning (const char * message, int line, int column) {
-  //cout << "Warning: " << message << " (" << line << ',' << column << ')'   
-  //     << endl;
+  SG_LOG(SG_IO, SG_WARN, "Warning: " << message << " (" << line << ',' << column << ')');
 }
 
 void  FGRunwayPreference::error (const char * message, int line, int column) {
-  //cout << "Error: " << message << " (" << line << ',' << column << ')'
-  //     << endl;
+  SG_LOG(SG_IO, SG_ALERT, "Error: " << message << " (" << line << ',' << column << ')');
 }