# HG changeset patch # User sheepluva # Date 1391432771 -3600 # Node ID 67b7bc53963963c56ca29425de85484247b72539 # Parent f00dee04b5d725bf53fc747ba7343f6b37a966a9 fix for Issue 777 (IceGun: Segfault when freezing water, with rqBlurryLand enabled) diff -r f00dee04b5d7 -r 67b7bc539639 hedgewars/uLandGraphics.pas --- a/hedgewars/uLandGraphics.pas Mon Feb 03 13:52:47 2014 +0400 +++ b/hedgewars/uLandGraphics.pas Mon Feb 03 14:06:11 2014 +0100 @@ -364,7 +364,10 @@ if Land[j, i] = 0 then begin Land[j, i] := lfIce; - fillPixelFromIceSprite(i, j); + if (cReducedQuality and rqBlurryLand) = 0 then + fillPixelFromIceSprite(i, j) + else + fillPixelFromIceSprite(i div 2, j div 2); end; end; end;