hedgewars/uLandGraphics.pas
branchwebgl
changeset 9521 8054d9d775fd
parent 9168 20ff80421736
parent 9460 7d7e4ca70f6b
child 9950 2759212a27de
--- a/hedgewars/uLandGraphics.pas	Fri Oct 11 11:55:31 2013 +0200
+++ b/hedgewars/uLandGraphics.pas	Fri Oct 11 17:43:13 2013 +0200
@@ -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;