hedgewars/uLandGraphics.pas
branch0.9.19
changeset 9144 1e0ba74930d0
parent 9080 9b42757d7e71
child 9521 8054d9d775fd
child 9682 aa2431ed87b2
child 9768 08799c901a42
--- a/hedgewars/uLandGraphics.pas	Sat Aug 24 01:37:20 2013 +0400
+++ b/hedgewars/uLandGraphics.pas	Fri Sep 13 21:55:53 2013 +0400
@@ -125,6 +125,7 @@
     icePixels: PLongwordArray;
     w: LongWord;
 begin
+    if cOnlyStats then exit;
     // So. 3 parameters here. Ice colour, Ice opacity, and a bias on the greyscaled pixel towards lightness
     iceSurface:= SpritesData[sprIceTexture].Surface;
     icePixels := iceSurface^.pixels;