Skip to content

Commit

Permalink
Fixed XML doc string error.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmcbride committed Sep 27, 2014
1 parent 9abc0cd commit 2b4dad9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions InSimDotNet/Helpers/HandicapHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ public static class HandicapHelper {
/// <summary>
/// Sets the handicap for the specified cars.
/// </summary>
/// <param name="packet">The <see cref="IS_HCP"/> packet containing the handicaps.
/// <param name="T_Mass">The added mass to set in kilograms (0 - 200).</param>
/// <param name="packet">The <see cref="IS_HCP"/> packet containing the handicaps.</param>
/// <param name="cars">The cars to set the handicap for.</param>
/// <param name="H_Mass">The added mass to set in kilograms (0 - 200).</param>
/// <param name="H_TRes">The intake restriction to set (0 - 50).</param>
public static void SetHandicap(IS_HCP packet, CarFlags cars, byte H_Mass = 0, byte H_TRes = 0) {
foreach (var car in CarMap) {
if (cars.HasFlag(car.Key) || cars.HasFlag(CarFlags.All)) {
if (cars.HasFlag(CarFlags.All) || cars.HasFlag(car.Key)) {
packet.Info[car.Value].H_Mass = H_Mass;
packet.Info[car.Value].H_TRes = H_TRes;
}
Expand Down

0 comments on commit 2b4dad9

Please sign in to comment.