1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-30 12:52:16 -05:00

More cleanups to CTS.

This commit is contained in:
Merlijn Wajer 2011-06-13 17:44:04 +02:00
parent 9415d08100
commit b87a123701

View File

@ -639,24 +639,15 @@ begin
HiSpiral := (dy+1) * (dx + 1) -1;
case CTS of
0:
begin
i := cts0();
if i <> -1 then
goto Hit;
end;
1:
begin
i := cts1();
if i <> -1 then
goto Hit;
end;
2:
{ Can be optimized a lot... RGBToHSL isn't really inline, }
begin
end;
i := cts2();
end;
if i <> -1 then
goto Hit;
Result := False;
TClient(Client).IOManager.FreeReturnData;
Exit;