hedgewars/hwengine.pas
changeset 10139 9046f69dae4c
parent 10133 d73412fbf3b4
child 10150 fa5c83fd0ad9
--- a/hedgewars/hwengine.pas	Thu Feb 13 23:53:47 2014 +0400
+++ b/hedgewars/hwengine.pas	Fri Feb 14 13:48:14 2014 +0400
@@ -353,9 +353,12 @@
 {$ENDIF}
     SDL_ShowCursor(0);
 
-    WriteToConsole('Init SDL_ttf... ');
-    SDLTry(TTF_Init() <> -1, true);
-    WriteLnToConsole(msgOK);
+    if not cOnlyStats then
+        begin
+        WriteToConsole('Init SDL_ttf... ');
+        SDLTry(TTF_Init() <> -1, true);
+        WriteLnToConsole(msgOK);
+        end;
 
 {$IFDEF USE_VIDEO_RECORDING}
     if GameType = gmtRecord then