Fix "/capture" command
authorunc0rr
Fri, 23 Feb 2007 17:34:30 +0000
changeset 489 6b0ced304920
parent 488 4dee644f382d
child 490 4cddbd75a79b
Fix "/capture" command
hedgewars/hwengine.dpr
--- a/hedgewars/hwengine.dpr	Fri Feb 23 14:52:45 2007 +0000
+++ b/hedgewars/hwengine.dpr	Fri Feb 23 17:34:30 2007 +0000
@@ -108,7 +108,7 @@
    flagMakeCapture:= false;
    s:= 'hw_' + cSeed + '_' + inttostr(GameTicks) + '.bmp';
    WriteLnToConsole('Saving ' + s);
-//   SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(PChar(s), 'wb'), 1)
+   SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(Str2PChar(s), 'wb'), 1)
    end;
 end;