Explorar el Código

fix malformed addfeildV

AzaezelX hace 7 meses
padre
commit
28603655a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Engine/source/T3D/vehicles/wheeledVehicle.cpp

+ 1 - 1
Engine/source/T3D/vehicles/wheeledVehicle.cpp

@@ -128,7 +128,7 @@ void WheeledVehicleTire::initPersistFields()
       "Tire friction when the wheel is slipping (no traction)." );
    addFieldV( "restitution", TypeRangedF32, Offset(restitution, WheeledVehicleTire), &CommonValidators::PositiveFloat,
       "Tire restitution.\nCurrently unused." );
-   addFieldV( "lateralForce", TypeRangedF32, Offset(lateralForce, WheeledVehicleTire, &CommonValidators::PositiveFloat), &CommonValidators::PositiveFloat,
+   addFieldV( "lateralForce", TypeRangedF32, Offset(lateralForce, WheeledVehicleTire), &CommonValidators::PositiveFloat,
       "@brief Tire force perpendicular to the direction of movement.\n\n"
       "Lateral force can in simple terms be considered left/right steering "
       "force. WheeledVehicles are acted upon by forces generated by their tires "