hedgewars/uLandGraphics.pas
changeset 6097 db10abae541f
parent 6096 a00dbbf49d6c
child 6130 026fd01a5e2c
equal deleted inserted replaced
6096:a00dbbf49d6c 6097:db10abae541f
   589                 by:= ty div 2; bx:= tx div 2;
   589                 by:= ty div 2; bx:= tx div 2;
   590                 end;
   590                 end;
   591             if ((Land[ty, tx] and lfBasic) <> 0) and (((LandPixels[by,bx] and AMask) shr AShift) = 255) and not disableLandBack then
   591             if ((Land[ty, tx] and lfBasic) <> 0) and (((LandPixels[by,bx] and AMask) shr AShift) = 255) and not disableLandBack then
   592                 LandPixels[by, bx]:= LandBackPixel(tx, ty)
   592                 LandPixels[by, bx]:= LandBackPixel(tx, ty)
   593             else if ((Land[ty, tx] and lfObject) <> 0) or (((LandPixels[by,bx] and AMask) shr AShift) < 255) then
   593             else if ((Land[ty, tx] and lfObject) <> 0) or (((LandPixels[by,bx] and AMask) shr AShift) < 255) then
   594                 LandPixels[by, bx]:= 0
   594                 LandPixels[by, bx]:= 0;
       
   595             Land[ty, tx]:= 0;
   595             end
   596             end
   596         end;
   597         end;
   597     for t:= 0 to 7 do
   598     for t:= 0 to 7 do
   598     begin
   599     begin
   599     X:= X + dX;
   600     X:= X + dX;