hedgewars/uWorld.pas
changeset 10120 b7f632c12784
parent 10108 c68cf030eded
child 10122 cefede760264
--- a/hedgewars/uWorld.pas	Fri Feb 07 14:41:49 2014 +0400
+++ b/hedgewars/uWorld.pas	Fri Feb 07 15:44:27 2014 +0400
@@ -219,7 +219,7 @@
     end;
 
 // if the string has been set, show it for (default timeframe) seconds
-if g <> '' then
+if length(g) > 0 then
     ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], PChar(g), 1, 0);
 
 cWaveWidth:= SpritesData[sprWater].Width;