1
0
Fork 0

minor fix to please (other) pedants :-)

This commit is contained in:
mfranz 2007-10-04 20:16:27 +00:00
parent 70de6eac24
commit 37cc06e335

View file

@ -258,7 +258,7 @@ string FGRunwayList::search( const string& aptid, const int hdg ) {
diff += 360;
while (diff >= 180)
diff -= 360;
bad = DEVWGT * fabs(diff) + 1e-20;
bad = fabs(DEVWGT * diff) + 1e-20;
quality = good / bad;
//SG_LOG(SG_GENERAL, SG_DEBUG, " runway " << r._rwy_no << " -> " << quality);
@ -274,7 +274,7 @@ string FGRunwayList::search( const string& aptid, const int hdg ) {
diff += 360;
while (diff >= 180)
diff -= 360;
bad = DEVWGT * fabs(diff) + 1e-20;
bad = fabs(DEVWGT * diff) + 1e-20;
quality = good / bad;
//SG_LOG(SG_GENERAL, SG_DEBUG, " runway " << GetReverseRunwayNo(r._rwy_no)