hedgewars/hwengine.pas
changeset 11502 66f1cff4284b
parent 11491 2b30283a402c
child 11506 2d72489cc5b6
--- a/hedgewars/hwengine.pas	Sun Jan 10 21:33:11 2016 +0100
+++ b/hedgewars/hwengine.pas	Mon Jan 11 22:23:14 2016 +0100
@@ -99,6 +99,9 @@
             end;
         gsConfirm, gsGame, gsChat:
             begin
+            // disable screenshot flash effect when about to make another screenshot
+            if flagMakeCapture and (ScreenFade = sfFromWhite) then
+                ScreenFade:= sfNone;
             if not cOnlyStats then
                 // never place between ProcessKbd and DoGameTick - bugs due to /put cmd and isCursorVisible
                 DrawWorld(Lag);