hedgewars/uWorld.pas
changeset 10120 b7f632c12784
parent 10108 c68cf030eded
child 10122 cefede760264
equal deleted inserted replaced
10119:7e05a397602f 10120:b7f632c12784
   217     else
   217     else
   218         g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime div 1000);
   218         g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime div 1000);
   219     end;
   219     end;
   220 
   220 
   221 // if the string has been set, show it for (default timeframe) seconds
   221 // if the string has been set, show it for (default timeframe) seconds
   222 if g <> '' then
   222 if length(g) > 0 then
   223     ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], PChar(g), 1, 0);
   223     ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], PChar(g), 1, 0);
   224 
   224 
   225 cWaveWidth:= SpritesData[sprWater].Width;
   225 cWaveWidth:= SpritesData[sprWater].Width;
   226 //cWaveHeight:= SpritesData[sprWater].Height;
   226 //cWaveHeight:= SpritesData[sprWater].Height;
   227 cWaveHeight:= 32;
   227 cWaveHeight:= 32;