hedgewars/uVisualGears.pas
changeset 1812 3d4692e825e7
parent 1801 bc0c5c21376e
child 1869 490005509a7b
equal deleted inserted replaced
1811:1b9e33623b7e 1812:3d4692e825e7
   174 		begin
   174 		begin
   175 		AddVisualGear:= nil;
   175 		AddVisualGear:= nil;
   176 		exit
   176 		exit
   177 		end;
   177 		end;
   178 
   178 
       
   179 if cReducedQuality then
       
   180 	begin
       
   181 	AddVisualGear:= nil;
       
   182 	exit
       
   183 	end;
       
   184 
   179 New(Result);
   185 New(Result);
   180 FillChar(Result^, sizeof(TVisualGear), 0);
   186 FillChar(Result^, sizeof(TVisualGear), 0);
   181 Result^.X:= int2hwFloat(X);
   187 Result^.X:= int2hwFloat(X);
   182 Result^.Y:= int2hwFloat(Y);
   188 Result^.Y:= int2hwFloat(Y);
   183 Result^.Kind := Kind;
   189 Result^.Kind := Kind;