hedgewars/hwengine.pas
changeset 7235 baa69bd025d9
parent 7198 5debd5fe526e
child 7286 068adc6948e3
--- a/hedgewars/hwengine.pas	Mon Jun 11 17:56:10 2012 +0400
+++ b/hedgewars/hwengine.pas	Mon Jun 11 18:15:30 2012 +0400
@@ -415,10 +415,12 @@
     isDeveloperMode:= false;
     TryDo(InitStepsFlags = cifAllInited, 'Some parameters not set (flags = ' + inttostr(InitStepsFlags) + ')', true);
     ParseCommand('rotmask', true);
-
+    
+{$IFDEF USE_VIDEO_RECORDING}
     if GameType = gmtRecord then
         RecorderMainLoop()
     else
+{$ENDIF}
         MainLoop();
 
     // clean up all the memory allocated