changeset 13846 | b2cc4e4e380c |
parent 13838 | 664935d80668 |
child 14287 | 6015b74eea55 |
--- a/hedgewars/uLandObjects.pas Wed Sep 05 20:09:32 2018 +0200 +++ b/hedgewars/uLandObjects.pas Thu Oct 04 21:17:21 2018 +0200 @@ -204,7 +204,7 @@ pLandColor:= @LandPixels[(cpY + y) div 2, (cpX + x) div 2]; alpha:= (color and AMask) shr AShift; - if (alpha <> $FF) and (pLandColor^ <> 0) then + if ((alpha <> $FF) and ((pLandColor^) <> 0)) then begin landColor:= pLandColor^; color:=