share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 4168 49ad7bea4a33
parent 4162 923db448ad16
child 4171 7bbd7ab84454
equal deleted inserted replaced
4167:207cd9358876 4168:49ad7bea4a33
   167 			if clan == ClansCount -1 then
   167 			if clan == ClansCount -1 then
   168 				-- Time for elimination - worst hog is out and the worst hog vars are reset.
   168 				-- Time for elimination - worst hog is out and the worst hog vars are reset.
   169 				SetHealth(worsthog, 0)
   169 				SetHealth(worsthog, 0)
   170 				--Place a grenade to make inactive slowest hog active
   170 				--Place a grenade to make inactive slowest hog active
   171 				x, y = GetGearPosition(worsthog)
   171 				x, y = GetGearPosition(worsthog)
   172 				AddGear(x, y, gtAmmo_Grenade, 0, 0, 0, 0)
   172 				AddGear(x, y, gtShell, 0, 0, 0, 0)
   173 				worsttime = 0
   173 				worsttime = 0
   174 				worsthog = nil
   174 				worsthog = nil
   175 				end
   175 				end
   176 			
   176 			
   177 			for i=0, ClansCount -1 do
   177 			for i=0, ClansCount -1 do