Cleaned up a few stray cout's
This commit is contained in:
parent
9e6ee4b703
commit
56db201e52
2 changed files with 3 additions and 3 deletions
|
@ -160,7 +160,7 @@ string FGATIS::get_transmission() {
|
||||||
double cloudbase = fgGetDouble("/environment/clouds/altitude-ft");
|
double cloudbase = fgGetDouble("/environment/clouds/altitude-ft");
|
||||||
// For some reason the altitude returned doesn't seem to correspond to the actual cloud altitude.
|
// For some reason the altitude returned doesn't seem to correspond to the actual cloud altitude.
|
||||||
char buf3[10];
|
char buf3[10];
|
||||||
cout << "cloudbase = " << cloudbase << endl;
|
// cout << "cloudbase = " << cloudbase << endl;
|
||||||
sprintf(buf3, "%i", int(cloudbase));
|
sprintf(buf3, "%i", int(cloudbase));
|
||||||
transmission = transmission + " Cloudbase " + buf3 + " feet";
|
transmission = transmission + " Cloudbase " + buf3 + " feet";
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ bool FGRunways::search( const string& aptid, FGRunway* r ) {
|
||||||
c4_StringProp pEnd2 ("End2Flags");
|
c4_StringProp pEnd2 ("End2Flags");
|
||||||
|
|
||||||
int index = vRunway->Find(pID[aptid.c_str()]);
|
int index = vRunway->Find(pID[aptid.c_str()]);
|
||||||
cout << "index = " << index << endl;
|
// cout << "index = " << index << endl;
|
||||||
|
|
||||||
if ( index == -1 ) {
|
if ( index == -1 ) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -121,7 +121,7 @@ bool FGRunways::search( const string& aptid, const string& rwyno, FGRunway* r )
|
||||||
c4_StringProp pEnd2 ("End2Flags");
|
c4_StringProp pEnd2 ("End2Flags");
|
||||||
|
|
||||||
int index = vRunway->Find(pID[aptid.c_str()]);
|
int index = vRunway->Find(pID[aptid.c_str()]);
|
||||||
cout << "index = " << index << endl;
|
// cout << "index = " << index << endl;
|
||||||
|
|
||||||
if ( index == -1 ) {
|
if ( index == -1 ) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue