hedgewars/uWorld.pas
changeset 4003 ca0600ab38bf
parent 3976 abaf741a4e21
child 4132 ca33a3737064
equal deleted inserted replaced
4001:cfd83b04e0be 4003:ca0600ab38bf
   145 
   145 
   146 // modified mine timers?
   146 // modified mine timers?
   147 if cMinesTime <> 3000 then
   147 if cMinesTime <> 3000 then
   148     begin
   148     begin
   149     if cMinesTime = 0 then
   149     if cMinesTime = 0 then
   150         g:= AddGoal(g, gfMines, gidNoMineTimer)
   150         g:= AddGoal(g, gfAny, gidNoMineTimer)
   151     else if cMinesTime < 0 then
   151     else if cMinesTime < 0 then
   152         g:= AddGoal(g, gfMines, gidRandomMineTimer)
   152         g:= AddGoal(g, gfAny, gidRandomMineTimer)
   153     else
   153     else
   154         g:= AddGoal(g, gfMines, gidMineTimer, cMinesTime div 1000);
   154         g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime div 1000);
   155     end;
   155     end;
   156 
   156 
   157 // if the string has been set, show it for (default timeframe) seconds
   157 // if the string has been set, show it for (default timeframe) seconds
   158 if g <> '' then ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], g, 1, 0);
   158 if g <> '' then ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], g, 1, 0);
   159 
   159