hedgewars/hwengine.dpr
changeset 947 4e0c3ad89483
parent 946 42c5cc87cbd1
child 949 866729775535
--- a/hedgewars/hwengine.dpr	Sat May 24 18:37:04 2008 +0000
+++ b/hedgewars/hwengine.dpr	Sat May 24 21:10:49 2008 +0000
@@ -99,7 +99,7 @@
               FinishProgress;
               GameState:= gsGame
               end;
-     gsGame : begin
+      gsGame: begin
               ProcessKbd;
               DoGameTick(Lag);
               ProcessVisualGears(Lag);
@@ -111,7 +111,12 @@
               DrawWorld(Lag, SDLPrimSurface);
               DrawConsole(SDLPrimSurface);
               end;
-     gsExit : begin
+      gsChat: begin
+              DoGameTick(Lag);
+              ProcessVisualGears(Lag);
+              DrawWorld(Lag, SDLPrimSurface);
+              end;
+      gsExit: begin
               OnDestroy;
               end;
      end;