hedgewars/uVideoRec.pas
changeset 7363 09af8bc9181f
parent 7306 3cff5c769509
child 7369 46921fbe76d3
--- a/hedgewars/uVideoRec.pas	Sat Jul 07 17:43:10 2012 +0400
+++ b/hedgewars/uVideoRec.pas	Sat Jul 07 19:17:50 2012 +0400
@@ -253,8 +253,6 @@
     RecPrefix:= FormatDateTime('YYYY-MM-DD_HH-mm-ss', Now());
 
     thumbnailSaved:= false;
-    if (not (gameState in [gsLandGen, gsStart])) and (ScreenFade = sfNone) then
-        SaveThumbnail();
 
     Mix_QuerySpec(@frequency, @format, @channels);
     AddFileLog('sound: frequency = ' + IntToStr(frequency) + ', format = ' + IntToStr(format) + ', channels = ' + IntToStr(channels));
@@ -307,9 +305,6 @@
     Close(cameraFile);
     Mix_SetPostMix(nil, nil);
     SDL_UnlockAudio();
-
-    if (not thumbnailSaved) then
-        SaveThumbnail();
 end;
 
 procedure SaveCameraPosition;