hedgewars/hwengine.pas
changeset 7929 6e01c5134eb5
parent 7896 67217e6108fd
parent 7857 2bc61f8841a1
child 7959 644b757d20e6
child 7981 aac257b77842
child 7984 619a399bece8
equal deleted inserted replaced
7926:550083f61a0e 7929:6e01c5134eb5
   269         end;
   269         end;
   270 
   270 
   271         CurrTime:= SDL_GetTicks();
   271         CurrTime:= SDL_GetTicks();
   272         if PrevTime + longword(cTimerInterval) <= CurrTime then
   272         if PrevTime + longword(cTimerInterval) <= CurrTime then
   273         begin
   273         begin
   274             isTerminated:= DoTimer(CurrTime - PrevTime);
   274             isTerminated := isTerminated or DoTimer(CurrTime - PrevTime);
   275             PrevTime:= CurrTime
   275             PrevTime:= CurrTime
   276         end
   276         end
   277         else SDL_Delay(1);
   277         else SDL_Delay(1);
   278         IPCCheckSock();
   278         IPCCheckSock();
   279     end;
   279     end;