Skip to content

Commit

Permalink
Don't count disabled arrays when working out special block start/ends,
Browse files Browse the repository at this point in the history
…Fixes #100
  • Loading branch information
robincornelius committed Sep 11, 2017
1 parent 9fed0bf commit b562769
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libEDSsharp/CanOpenNodeExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ private void specialarraysearch(UInt16 start, UInt16 end)
foreach (KeyValuePair<UInt16, ODentry> kvp in eds.ods)
{

if (kvp.Value.Disabled == true)
continue;

if (kvp.Key >= start && kvp.Key <= end)
{
if (kvp.Key > highest)
Expand Down

0 comments on commit b562769

Please sign in to comment.