hedgewars/uWorld.pas
changeset 2735 f2008d0ce3f8
parent 2724 601158aaa201
child 2747 7889a3a9724f
--- a/hedgewars/uWorld.pas	Sun Jan 31 22:43:09 2010 +0000
+++ b/hedgewars/uWorld.pas	Sun Jan 31 22:52:42 2010 +0000
@@ -654,7 +654,7 @@
 case Group of
 	capgrpGameState: Captions[Group].EndTime:= RealTicks + 2200
 	else
-	Captions[Group].EndTime:= RealTicks + 1400 + Captions[Group].Tex^.w*3;
+	Captions[Group].EndTime:= RealTicks + 1400 + LongWord(Captions[Group].Tex^.w) * 3;
 	end;
 end;