]> git.cworth.org Git - kub/commitdiff
Fix tile_group_is_set
authorKevin Worth <kworth@kworth-laptop.(none)>
Thu, 7 May 2009 19:15:43 +0000 (15:15 -0400)
committerKevin Worth <kworth@kworth-laptop.(none)>
Thu, 7 May 2009 19:15:43 +0000 (15:15 -0400)
Previous version was validating sets with repeat colors.
The error appeared to be an incomplete check through the array;
when num_tiles was 3, it was checking index 0 and 1. Thus, if
index 0 and 2 had the same color, it wasn't being caught.

New version now steps through entire array.


No differences found