1
0
Fork 0

Merge branch 'next' of gitorious.org:fg/flightgear into next

This commit is contained in:
James Turner 2011-08-08 18:17:15 +01:00
commit a18dc00f4a

View file

@ -285,7 +285,7 @@ FGScenery::get_elevation_m(const SGGeod& geod, double& alt,
return false;
geodEnd = SGGeod::fromCart(intersectVisitor.getLineSegment().getEnd());
alt = geod.getElevationM();
alt = geodEnd.getElevationM();
if (material)
*material = intersectVisitor.getMaterial();