hedgewars/hwengine.pas
changeset 7386 e82a076df09b
parent 7379 aa29a2f16cc7
child 7392 bc3306c59a08
--- a/hedgewars/hwengine.pas	Tue Jul 10 21:56:25 2012 +0400
+++ b/hedgewars/hwengine.pas	Tue Jul 10 21:58:19 2012 +0400
@@ -291,7 +291,8 @@
         CurrTime:= LoadNextCameraPosition();
         if CurrTime = -1 then
             break;
-        DoTimer(CurrTime - PrevTime);
+        if DoTimer(CurrTime - PrevTime) then
+            break;
         IPCCheckSock();
     end;
     StopVideoRecording();