# HG changeset patch # User Wuzzy # Date 1534019285 -7200 # Node ID de2b7bc00d40d2342002e6069db5189334b34bb0 # Parent 56a925256039b37ec560c4bccb997998afcb3d7b More straightforward TotalRoundsPre counting if there's only 1 clan diff -r 56a925256039 -r de2b7bc00d40 ChangeLog.txt --- a/ChangeLog.txt Sat Aug 11 21:43:55 2018 +0200 +++ b/ChangeLog.txt Sat Aug 11 22:28:05 2018 +0200 @@ -29,6 +29,7 @@ * Fix teleport tooltip claiming it doesn't end turn in hog placing phase with inf. attack * Fix /hta, /hsa and /hya commands not writing message in chat * Limit hedgehog health to 268435455 to prevent some bugs + * Fix Sudden Death starting in the second turn of a round rather than the first Frontend: + Add setting to disable audio dampening when losing window focus diff -r 56a925256039 -r de2b7bc00d40 hedgewars/uTeams.pas --- a/hedgewars/uTeams.pas Sat Aug 11 21:43:55 2018 +0200 +++ b/hedgewars/uTeams.pas Sat Aug 11 22:28:05 2018 +0200 @@ -314,6 +314,8 @@ if not PlacingHogs then if (TotalRoundsReal = -1) then TotalRoundsReal:= 0; + if (TotalRoundsPre = -1) and (ClansCount = 1) then + TotalRoundsPre:= 0; // Determine clan ID to check to determine whether to increase TotalRoundsPre/TotalRoundsReal if (not PlacingHogs) then