Temporarily disable screenshots as they cause segfault
authorunc0rr
Sun, 27 Apr 2008 16:13:40 +0000
changeset 887 cfed7e92afd7
parent 886 c712272b2770
child 888 9b2abea1071f
Temporarily disable screenshots as they cause segfault
hedgewars/hwengine.dpr
--- a/hedgewars/hwengine.dpr	Sun Apr 27 16:12:20 2008 +0000
+++ b/hedgewars/hwengine.dpr	Sun Apr 27 16:13:40 2008 +0000
@@ -118,11 +118,11 @@
 SDL_GL_SwapBuffers();
 if flagMakeCapture then
    begin
-   flagMakeCapture:= false;
+{   flagMakeCapture:= false;
    s:= 'hw_' + cSeed + '_' + inttostr(GameTicks) + '.bmp';
    WriteLnToConsole('Saving ' + s);
    SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(Str2PChar(s), 'wb'), 1)
-   end;
+}   end;
 end;
 
 ////////////////////