]> git.mxchange.org Git - flightgear.git/commitdiff
s/resistence/resistance/
authormfranz <mfranz>
Sun, 13 May 2007 11:53:21 +0000 (11:53 +0000)
committermfranz <mfranz>
Sun, 13 May 2007 11:53:21 +0000 (11:53 +0000)
src/FDM/flight.cxx

index 55d8545a5aafb46fa49daa6e4844fde131db2665..1474b9746c062564ec891bf1df950cb4a2146574 100644 (file)
@@ -873,7 +873,7 @@ FGInterface::get_agl_m(double t, const double pt[3],
   sgdCopyVec3(normal, _normal.data());
   sgdCopyVec3(vel, _vel.data());
   if (material) {
-    *loadCapacity = material->get_load_resistence();
+    *loadCapacity = material->get_load_resistance();
     *frictionFactor = material->get_friction_factor();
 
   } else {
@@ -920,7 +920,7 @@ FGInterface::get_agl_ft(double t, const double pt[3],
   // return material properties if available
   if (material) {
     // FIXME: convert units?? now pascal to lbf/ft^2
-    *loadCapacity = 0.020885434*material->get_load_resistence();
+    *loadCapacity = 0.020885434*material->get_load_resistance();
     *frictionFactor = material->get_friction_factor();
   } else {
     *loadCapacity = DBL_MAX;