Fix poison damage not working in first round
authorWuzzy <Wuzzy2@mail.ru>
Mon, 10 Dec 2018 08:00:45 +0100
changeset 14423 234bb36d3b8c
parent 14422 6c21bd8547dd
child 14424 8af01d65ccda
Fix poison damage not working in first round
ChangeLog.txt
hedgewars/uGears.pas
--- a/ChangeLog.txt	Mon Dec 10 07:59:45 2018 +0100
+++ b/ChangeLog.txt	Mon Dec 10 08:00:45 2018 +0100
@@ -6,6 +6,7 @@
  + Longer delays between turns so its easier to see damage and messages
  * King Mode: Fix team sometimes not being killed properly if king drowned
  * King Mode: Kill resurrected minions if king is not alive
+ * Fix poison damage not working in first round
  * Hide most HUD elements in cinematic mode
 
 Lua API:
--- a/hedgewars/uGears.pas	Mon Dec 10 07:59:45 2018 +0100
+++ b/hedgewars/uGears.pas	Mon Dec 10 08:00:45 2018 +0100
@@ -432,7 +432,7 @@
         begin
         if bBetweenTurns
         or isInMultiShoot
-        or (TotalRoundsPre = -1) then
+        or (TotalRoundsReal = -1) then
             inc(step)
         else
             begin