[Gcblue-commits] gcb_wx/src/ai Nav.cpp,1.8,1.9
Status: Alpha
Brought to you by:
ddcforge
From: Dewitt C. <ddc...@us...> - 2006-11-29 02:51:46
|
Update of /cvsroot/gcblue/gcb_wx/src/ai In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv15466/src/ai Modified Files: Nav.cpp Log Message: Index: Nav.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/ai/Nav.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Nav.cpp 27 Aug 2006 21:28:54 -0000 1.8 --- Nav.cpp 29 Nov 2006 02:51:44 -0000 1.9 *************** *** 53,58 **** for (unsigned char n=0; n<nWaypoints; n++) { ! stream << waypoints[n].mfLon_rad; ! stream << waypoints[n].mfLat_rad; stream << waypoints[n].mfAlt_m; } --- 53,61 ---- for (unsigned char n=0; n<nWaypoints; n++) { ! float lon_rad = float(waypoints[n].mfLon_rad); ! float lat_rad = float(waypoints[n].mfLat_rad); ! ! stream << lon_rad; ! stream << lat_rad; stream << waypoints[n].mfAlt_m; } |