mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-26 03:02:15 -05:00
small bug
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@568 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
5bd1828240
commit
cae8fe3527
@ -1977,9 +1977,6 @@ begin
|
|||||||
GetToleranceSpeed2Modifiers(hMod, sMod);
|
GetToleranceSpeed2Modifiers(hMod, sMod);
|
||||||
|
|
||||||
ccts := CTS;
|
ccts := CTS;
|
||||||
//Compiler hints
|
|
||||||
HMod := 0;SMod := 0;
|
|
||||||
//NO HSL.
|
|
||||||
|
|
||||||
// Retreive Client Data.
|
// Retreive Client Data.
|
||||||
PtrData := TClient(Client).IOManager.ReturnData(x1, y1, W + 1, H + 1);
|
PtrData := TClient(Client).IOManager.ReturnData(x1, y1, W + 1, H + 1);
|
||||||
@ -2013,10 +2010,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
// Checking point i now. (Store that we matched it)
|
// Checking point i now. (Store that we matched it)
|
||||||
ch[xxx][yyy]:= ch[xxx][yyy] or (1 shl i);
|
ch[xxx][yyy]:= ch[xxx][yyy] or (1 shl i);
|
||||||
|
|
||||||
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
|
// 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
|
||||||
b[xxx][yyy] := b[xxx][yyy] or (1 shl i);
|
b[xxx][yyy] := b[xxx][yyy] or (1 shl i);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user