diff -r ca67740f19b2 -r 8572d1f8b2f0 hedgewars/uTextures.pas --- a/hedgewars/uTextures.pas Sun Jan 26 10:20:42 2014 +0400 +++ b/hedgewars/uTextures.pas Mon Jan 27 00:33:42 2014 +0400 @@ -146,13 +146,13 @@ // invisible pixels get colors from visible neighbors if cpi then begin - row1^[i]:= row1^[i-1] and not AMask; + row1^[i]:= row1^[i-1] and (not AMask); // as this pixel is invisible and already colored correctly now, no point in further comparing it lpi:= cpi; continue; end else - row1^[i-1]:= row1^[i] and not AMask; + row1^[i-1]:= row1^[i] and (not AMask); end; end; lpi:= cpi; @@ -163,9 +163,9 @@ if cpi <> bpi then begin if cpi then - row1^[i]:= row2^[i+ioffset] and not AMask + row1^[i]:= row2^[i+ioffset] and (not AMask) else - row2^[i+ioffset]:= row1^[i] and not AMask; + row2^[i+ioffset]:= row1^[i] and (not AMask); end; end; end;