# HG changeset patch
# User Stepan777 <stepik-777@mail.ru>
# Date 1341676784 -14400
# Node ID 26df999679630df5050f4be1fc1a5c65e6de6ee2
# Parent  09af8bc9181fa4c7d7a418b02a2a65a957f70a36
fix alpha channel in image rescaling

diff -r 09af8bc9181f -r 26df99967963 hedgewars/uMisc.pas
--- a/hedgewars/uMisc.pas	Sat Jul 07 19:17:50 2012 +0400
+++ b/hedgewars/uMisc.pas	Sat Jul 07 19:59:44 2012 +0400
@@ -213,7 +213,7 @@
                 img[4*(w*i + j)+0]:= r div (k*k);
                 img[4*(w*i + j)+1]:= g div (k*k);
                 img[4*(w*i + j)+2]:= b div (k*k);
-                img[4*(w*i + j)+3]:= 0;
+                img[4*(w*i + j)+3]:= 255;
             end;
     end;
 end;