hedgewars/uLandTexture.pas
changeset 2592 d86618629e20
parent 2587 0dfa56a8513c
child 2599 c7153d2348f3
--- a/hedgewars/uLandTexture.pas	Mon Oct 26 10:39:20 2009 +0000
+++ b/hedgewars/uLandTexture.pas	Thu Oct 29 17:51:54 2009 +0000
@@ -62,7 +62,7 @@
 begin
 for ty:= 0 to TEXSIZE - 1 do
 	for tx:= 0 to TEXSIZE - 1 do
-		tmpPixels[ty, tx]:= Land[y * TEXSIZE + ty, x * TEXSIZE + tx] or $FF000000;
+		tmpPixels[ty, tx]:= Land[y * TEXSIZE + ty, x * TEXSIZE + tx] or AMask;
 
 Pixels2:= @tmpPixels
 end;