# HG changeset patch # User Wuzzy # Date 1559912982 -7200 # Node ID 13e7d4eccb67691537388a881ae3a79dcb0ca749 # Parent a41b8b154f74c13f50bb2bcf3a3217433fc1f3a4 CTF/Control: Fix incomplete hedgehog loop bounds diff -r a41b8b154f74 -r 13e7d4eccb67 share/hedgewars/Data/Maps/Control/map.lua --- a/share/hedgewars/Data/Maps/Control/map.lua Fri Jun 07 15:08:06 2019 +0200 +++ b/share/hedgewars/Data/Maps/Control/map.lua Fri Jun 07 15:09:42 2019 +0200 @@ -334,7 +334,7 @@ end end - for h=1, numhhs do + for h=0, numhhs-1 do -- Tardis screws up the game too much, teams might not get killed correctly after victory -- if a hog is still in time-travel. -- This could be fixed, removing the Tardis is just a simple and lazy fix. diff -r a41b8b154f74 -r 13e7d4eccb67 share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua Fri Jun 07 15:08:06 2019 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua Fri Jun 07 15:09:42 2019 +0200 @@ -524,7 +524,7 @@ fCaptures[i] = 0 end - for h=1, numhhs do + for h=0, numhhs-1 do -- Hogs are resurrected for free, so this is pointless AddAmmo(hhs[h], amResurrector, 0) -- Remove suicidal weapons as they might wipe out the team