Skip to content

Commit

Permalink
Add OH-58D (#35)
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
charliefoxtwo authored Sep 4, 2024
1 parent 47f6b26 commit 41fccc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ClassLibraryCommon/DCSAircraft.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,10 @@ public static bool IsF4E(DCSAircraft dcsfpModule) {
return dcsfpModule.ID == 48;
}

public static bool IsOH58D(DCSAircraft dcsfpModule) {
return dcsfpModule.ID == 49;
}

public static DCSAircraft GetBackwardCompatible(string oldEnumValue)
{
int? moduleNumber = oldEnumValue switch
Expand Down
1 change: 1 addition & 0 deletions src/ClassLibraryCommon/dcs-bios_modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Mosquito|45|Mosquito FB Mk. VI
AH-64D|46|AH-64D Apache
MH-60R|47|MH-60R SeaHawk
F-4E|48|F-4E Phantom II
OH-58D|49|OH-58D Kiowa Warrior

MetadataEnd|500|MetadataEnd|CommonModules
MetadataStart|501|MetadataStart|CommonModules
Expand Down

0 comments on commit 41fccc2

Please sign in to comment.