From cae8fe352774ddb476575bb1b84fcbdb462724be Mon Sep 17 00:00:00 2001 From: Raymond Date: Sun, 28 Feb 2010 13:49:45 +0000 Subject: [PATCH] small bug git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@568 3f818213-9676-44b0-a9b4-5e4c4e03d09d --- trunk/Units/MMLCore/finder.pas | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/trunk/Units/MMLCore/finder.pas b/trunk/Units/MMLCore/finder.pas index 40786be..8dedcc4 100644 --- a/trunk/Units/MMLCore/finder.pas +++ b/trunk/Units/MMLCore/finder.pas @@ -1977,9 +1977,6 @@ begin GetToleranceSpeed2Modifiers(hMod, sMod); ccts := CTS; - //Compiler hints - HMod := 0;SMod := 0; - //NO HSL. // Retreive Client Data. PtrData := TClient(Client).IOManager.ReturnData(x1, y1, W + 1, H + 1); @@ -2013,10 +2010,8 @@ begin begin // Checking point i now. (Store that we matched it) ch[xxx][yyy]:= ch[xxx][yyy] or (1 shl i); - + // if SimilarColors(dtm.c[i], rgbtocolor(cd[yyy][xxx].R, cd[yyy][xxx].G, cd[yyy][xxx].B), dtm.t[i]) then if ColorSame(ccts,dtm.t[i],clR[i],clG[i],clB[i],cd[yyy][xxx].R, cd[yyy][xxx].G, cd[yyy][xxx].B,hh[i],ss[i],ll[i],hmod,smod) then - - // if SimilarColors(dtm.c[i], rgbtocolor(cd[yyy][xxx].R, cd[yyy][xxx].G, cd[yyy][xxx].B), dtm.t[i]) then b[xxx][yyy] := b[xxx][yyy] or (1 shl i); end;