# HG changeset patch # User Wuzzy # Date 1540588190 -7200 # Node ID 755f389a1e7376e90f4d91b79f2e8bd640159ca6 # Parent 52e20f8f538accd7e696c9fb8ddd82a8bde55d22 Fix resurrector handling turn time manually, use correct ammoprop instead This also fixes this bug: The clock turned gray while using resurrector, although the time actually counts down. diff -r 52e20f8f538a -r 755f389a1e73 hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Fri Oct 26 22:52:17 2018 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Fri Oct 26 23:09:50 2018 +0200 @@ -5862,9 +5862,6 @@ i: LongInt; s: ansistring; begin - if (TurnTimeLeft > 0) then - dec(TurnTimeLeft); - AllInactive := false; hh := Gear^.Hedgehog; diff -r 52e20f8f538a -r 755f389a1e73 hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Fri Oct 26 22:52:17 2018 +0200 +++ b/hedgewars/uVariables.pas Fri Oct 26 23:09:50 2018 +0200 @@ -2172,7 +2172,8 @@ NumberInCase: 1; Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_Utility or - ammoprop_NoRoundEnd; + ammoprop_NoRoundEnd or + ammoprop_DoesntStopTimerWhileAttacking; Count: 1; NumPerTurn: 0; Timer: 0;