Changeset - 6d98e459cb93
[Not reviewed]
default
0 1 0
Jason Maltzen - 5 years ago 2019-11-02 13:07:31
jason@hiddenachievement.com
Fix a bad y offset computation when scanning for the paint bench.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ReactionRecorder.cs
Show inline comments
...
 
@@ -314,5 +314,5 @@ namespace DesertPaintLab
 
            bool result = true;
 

	
 
            int solidUpperLeft = testPixelStart + (2 * y * stride) + (2 * x * 3);
 
            int solidUpperLeft = testPixelStart + ((y+2) * stride) + ((x+2) * 3);
 
            int solidLowerLeft = testPixelStart + ((swatchHeight - 4) * stride);
 
            int solidUpperRight = testPixelStart + ((swatchWidth - 4) * 3);
0 comments (0 inline, 0 general)