hedgewars/hwengine.pas
changeset 3444 9d501dc22f71
parent 3432 83cef0f08a86
child 3449 033e4a8a9c74
equal deleted inserted replaced
3443:14d12df0d363 3444:9d501dc22f71
   120         gsConfirm,
   120         gsConfirm,
   121         gsGame: begin
   121         gsGame: begin
   122                 DrawWorld(Lag); // never place between ProcessKbd and DoGameTick - bugs due to /put cmd and isCursorVisible
   122                 DrawWorld(Lag); // never place between ProcessKbd and DoGameTick - bugs due to /put cmd and isCursorVisible
   123                 ProcessKbd;
   123                 ProcessKbd;
   124                 DoGameTick(Lag);
   124                 DoGameTick(Lag);
   125                 ProcessVisualGears(Lag);
   125                 if not isPaused then ProcessVisualGears(Lag);
   126                 end;
   126                 end;
   127         gsChat: begin
   127         gsChat: begin
   128                 DrawWorld(Lag);
   128                 DrawWorld(Lag);
   129                 DoGameTick(Lag);
   129                 DoGameTick(Lag);
   130                 ProcessVisualGears(Lag);
   130                 ProcessVisualGears(Lag);