diff --git a/DesertPaintLab.csproj b/DesertPaintLab.csproj --- a/DesertPaintLab.csproj +++ b/DesertPaintLab.csproj @@ -24,7 +24,7 @@ 1.0.0.%2a false true - 9.0.3 + 9.0.4 true diff --git a/DesertPaintLab.sln b/DesertPaintLab.sln --- a/DesertPaintLab.sln +++ b/DesertPaintLab.sln @@ -41,6 +41,6 @@ Global $0.StandardHeader = $5 $0.VersionControlPolicy = $6 description = Desert Paint Lab utility for A Tale in the Desert - version = 9.0.3 + version = 9.0.4 EndGlobalSection EndGlobal diff --git a/ReactionRecorder.cs b/ReactionRecorder.cs --- a/ReactionRecorder.cs +++ b/ReactionRecorder.cs @@ -336,7 +336,7 @@ namespace DesertPaintLab { int testPixel = solidUpperLeft + (yOff * stride); result &= IsColorMatch(swatch_r, swatch_r, swatch_r, pixBytes[testPixel], pixBytes[testPixel + 1], pixBytes[testPixel + 2]); - testPixel += ((swatchWidth - 1) * (x + 3)); + testPixel += ((swatchWidth - 1) * 3); result &= IsColorMatch(swatch_r, swatch_r, swatch_r, pixBytes[testPixel], pixBytes[testPixel + 1], pixBytes[testPixel + 2]); }