hedgewars/uWorld.pas
changeset 295 8834f3cb620e
parent 292 0ca921ca7557
child 298 112e61bd2cc2
--- a/hedgewars/uWorld.pas	Sun Dec 10 12:09:32 2006 +0000
+++ b/hedgewars/uWorld.pas	Sun Dec 10 15:55:53 2006 +0000
@@ -259,7 +259,7 @@
 i:= 8;
 for grp:= Low(TCapGroup) to High(TCapGroup) do
     with Captions[grp] do
-         if EndTime > 0 then
+         if Surf <> nil then
             begin
             DrawCentered(cScreenWidth div 2, i + cConsoleYAdd, Surf, Surface);
             inc(i, Surf.h + 2);
@@ -365,7 +365,7 @@
 if Captions[Group].Surf <> nil then SDL_FreeSurface(Captions[Group].Surf);
 
 Captions[Group].Surf:= RenderString(s, Color, fntBig);
-Captions[Group].EndTime:= RealTicks + 1200
+Captions[Group].EndTime:= RealTicks + 1500
 end;
 
 procedure MoveCamera;