just disable landpixels w/ blurry land instead. the mask can be helpful for debugging at least.
authornemo
Tue, 21 Jul 2015 08:41:06 -0400
changeset 11025 999afa63035f
parent 11024 b02e38762bbb
child 11026 b8022f4bea14
just disable landpixels w/ blurry land instead. the mask can be helpful for debugging at least.
hedgewars/hwengine.pas
hedgewars/uCommandHandlers.pas
--- a/hedgewars/hwengine.pas	Tue Jul 21 08:28:48 2015 -0400
+++ b/hedgewars/hwengine.pas	Tue Jul 21 08:41:06 2015 -0400
@@ -138,7 +138,8 @@
         ScreenFadeValue:= sfMax;
         ScreenFadeSpeed:= 5;
         
-        if (not flagDumpLand and MakeScreenshot(s, 1, 0)) or (flagDumpLand and MakeScreenshot(s, 1, 1) and MakeScreenshot(s, 1, 2)) then
+        if (not flagDumpLand and MakeScreenshot(s, 1, 0)) or
+           (flagDumpLand and MakeScreenshot(s, 1, 1) and ((cReducedQuality and rqBlurryLand <> 0) or MakeScreenshot(s, 1, 2))) then
             WriteLnToConsole('Screenshot saved: ' + s)
         else
             begin
--- a/hedgewars/uCommandHandlers.pas	Tue Jul 21 08:28:48 2015 -0400
+++ b/hedgewars/uCommandHandlers.pas	Tue Jul 21 08:41:06 2015 -0400
@@ -492,7 +492,7 @@
 begin
 s:= s; // avoid compiler hint
 flagMakeCapture:= true;
-flagDumpLand:= (LocalMessage and gmPrecise  <> 0) and (cReducedQuality and rqBlurryLand = 0);
+flagDumpLand:= (LocalMessage and gmPrecise  <> 0);
 end;
 
 procedure chRecord(var s: shortstring);