hedgewars/uWorld.pas
changeset 4248 e127b3d26248
parent 4225 ce9e2b05e9c1
child 4343 19cbea33e4d2
child 4357 a1fcfc341a52
equal deleted inserted replaced
4246:e5cb885492df 4248:e127b3d26248
   147 ScreenFade:= sfFromBlack;
   147 ScreenFade:= sfFromBlack;
   148 ScreenFadeValue:= sfMax;
   148 ScreenFadeValue:= sfMax;
   149 ScreenFadeSpeed:= 1;
   149 ScreenFadeSpeed:= 1;
   150 
   150 
   151 // modified mine timers?
   151 // modified mine timers?
   152 if cMinesTime <> 3000 then
   152 if cMinesTime <> 3 then
   153     begin
   153     begin
   154     if cMinesTime = 0 then
   154     if cMinesTime = 0 then
   155         g:= AddGoal(g, gfAny, gidNoMineTimer)
   155         g:= AddGoal(g, gfAny, gidNoMineTimer)
   156     else if cMinesTime < 0 then
   156     else if cMinesTime < 0 then
   157         g:= AddGoal(g, gfAny, gidRandomMineTimer)
   157         g:= AddGoal(g, gfAny, gidRandomMineTimer)
   158     else
   158     else
   159         g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime div 1000);
   159         g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime);
   160     end;
   160     end;
   161 
   161 
   162 // if the string has been set, show it for (default timeframe) seconds
   162 // if the string has been set, show it for (default timeframe) seconds
   163 if g <> '' then ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], g, 1, 0);
   163 if g <> '' then ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], g, 1, 0);
   164 
   164