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.
--- 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;
--- 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;