diff --git a/simgear/math/SGGeodesy.cxx b/simgear/math/SGGeodesy.cxx index d86cf0e3..396dae49 100644 --- a/simgear/math/SGGeodesy.cxx +++ b/simgear/math/SGGeodesy.cxx @@ -87,7 +87,7 @@ SGGeodesy::SGCartToGeod(const SGVec3& cart, SGGeod& geod) // coordinates 0/0/-EQURAD. It may be any other place on geoide's surface, // the Northpole, Hawaii or Wentorf. This one was easy to code ;-) geod.setLongitudeRad( 0.0 ); - geod.setLongitudeRad( 0.0 ); + geod.setLatitudeRad( 0.0 ); geod.setElevationM( -EQURAD ); return; }