hedgewars/uWorld.pas
changeset 13459 08a3851aaf67
parent 13412 236cc4cf2448
child 13461 854caa3c9212
equal deleted inserted replaced
13458:32032120435c 13459:08a3851aaf67
  1595     DrawTextureCentered(0, (cScreenHeight shr 1), SyncTexture);
  1595     DrawTextureCentered(0, (cScreenHeight shr 1), SyncTexture);
  1596 if isPaused then
  1596 if isPaused then
  1597     DrawTextureCentered(0, (cScreenHeight shr 1), PauseTexture);
  1597     DrawTextureCentered(0, (cScreenHeight shr 1), PauseTexture);
  1598 if isAFK then
  1598 if isAFK then
  1599     DrawTextureCentered(0, (cScreenHeight shr 1), AFKTexture);
  1599     DrawTextureCentered(0, (cScreenHeight shr 1), AFKTexture);
  1600 if not isFirstFrame and (missionTimer <> 0) or isPaused or fastUntilLag or (GameState = gsConfirm) then
  1600 if not isFirstFrame and (missionTimer <> 0) or isShowMission or isPaused or fastUntilLag or (GameState = gsConfirm) then
  1601     begin
  1601     begin
  1602     if (ReadyTimeLeft = 0) and (missionTimer > 0) then
  1602     if (ReadyTimeLeft = 0) and (missionTimer > 0) then
  1603         dec(missionTimer, Lag);
  1603         dec(missionTimer, Lag);
  1604     if missionTimer < 0 then
  1604     if missionTimer < 0 then
  1605         missionTimer:= 0; // avoid subtracting below 0
  1605         missionTimer:= 0; // avoid subtracting below 0