hedgewars/uLandObjects.pas
changeset 12593 d6bd8b327a09
parent 12592 00b539e6115d
child 12711 20dbb3a03e61
--- a/hedgewars/uLandObjects.pas	Fri Sep 29 22:09:11 2017 +0200
+++ b/hedgewars/uLandObjects.pas	Fri Sep 29 22:33:15 2017 +0200
@@ -762,7 +762,7 @@
         with SprayObjects.objs[Pred(SprayObjects.Count)] do
             begin
             i:= Pos(',', s);
-            Surf:= LoadDataImage(ptCurrTheme, Trim(Copy(s, 1, Pred(i))), ifColorKey or ifIgnoreCaps);
+            Surf:= LoadDataImage(ptCurrTheme, Trim(Copy(s, 1, Pred(i))), ifAlpha or ifIgnoreCaps);
             Width:= Surf^.w;
             Height:= Surf^.h;
             Delete(s, 1, i);