# HG changeset patch # User Wuzzy # Date 1544432484 -3600 # Node ID 7dbc3e5f812926068ebf3c726203cb2f079f73f2 # Parent b48c270328a531d2bc4e5a07a3243faaf712830f Also show SD warning 3 and 7 rounds before SD diff -r b48c270328a5 -r 7dbc3e5f8129 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Mon Dec 10 09:39:34 2018 +0100 +++ b/hedgewars/uGears.pas Mon Dec 10 10:01:24 2018 +0100 @@ -416,8 +416,8 @@ begin i:= cSuddenDTurns - TotalRoundsPre; s:= ansistring(inttostr(i)); - // X rounds before SD. X = 1, 2, 5, 10, 15, 20, 25, 50, 100, ... - if (i > 0) and ((i <= 2) or ((i mod 50 = 0) or ((i <= 25) and (i mod 5 = 0)))) then + // X rounds before SD. X = 1, 2, 3, 5, 7, 10, 15, 20, 25, 50, 100, ... + if (i > 0) and ((i <= 3) or (i = 7) or ((i mod 50 = 0) or ((i <= 25) and (i mod 5 = 0)))) then begin if i = 1 then AddCaption(trmsg[sidRoundSD], capcolDefault, capgrpGameState)