hedgewars/uWorld.pas
changeset 3304 8690a3aa93b5
parent 3265 5fe62296fdea
child 3376 faee68a28b82
equal deleted inserted replaced
3303:397a8f048bb3 3304:8690a3aa93b5
   740 DrawChat;
   740 DrawChat;
   741 
   741 
   742 if fastUntilLag then DrawCentered(0, (cScreenHeight shr 1), SyncTexture);
   742 if fastUntilLag then DrawCentered(0, (cScreenHeight shr 1), SyncTexture);
   743 if isPaused then DrawCentered(0, (cScreenHeight shr 1), PauseTexture);
   743 if isPaused then DrawCentered(0, (cScreenHeight shr 1), PauseTexture);
   744 
   744 
   745 if not isFirstFrame and (missionTimer <> 0) then
   745 if not isFirstFrame and ((missionTimer <> 0) or isPaused or fastUntilLag or (GameState = gsConfirm)) then
   746     begin
   746     begin
   747     if missionTimer > 0 then dec(missionTimer, Lag);
   747     if missionTimer > 0 then dec(missionTimer, Lag);
   748     if missionTimer < 0 then missionTimer:= 0; // avoid subtracting below 0
   748     if missionTimer < 0 then missionTimer:= 0; // avoid subtracting below 0
   749     if missionTex <> nil then
   749     if missionTex <> nil then
   750         DrawCentered(0, min((cScreenHeight shr 1) + 100, cScreenHeight - 48 - missionTex^.h), missionTex);
   750         DrawCentered(0, min((cScreenHeight shr 1) + 100, cScreenHeight - 48 - missionTex^.h), missionTex);