share/hedgewars/Data/Maps/Control/map.lua
changeset 13687 a8b2a5e7e9db
parent 13630 fe7d2bbf5f3f
child 13740 2bb7141496a9
equal deleted inserted replaced
13686:3651c63f3c84 13687:a8b2a5e7e9db
   215 
   215 
   216 	-- i want to show all the tags at once as having the SAME score not 1,2,3,4 so alas, repeating the loop seems needed	
   216 	-- i want to show all the tags at once as having the SAME score not 1,2,3,4 so alas, repeating the loop seems needed	
   217 	for i = 0,(zCount-1) do			
   217 	for i = 0,(zCount-1) do			
   218 		if CurrentHedgehog ~= nil then		
   218 		if CurrentHedgehog ~= nil then		
   219 			if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then
   219 			if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then
   220 				g = AddVisualGear(vCircX[i], vCircY[i]-100, vgtHealthTag, 100, False)
   220 				local g = AddVisualGear(vCircX[i], vCircY[i]-100, vgtHealthTag, 100, false)
   221                 if g ~= 0 then
   221 				SetVisualGearValues(g, vCircX[i], vCircY[i]-100, 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i]))
   222 				    SetVisualGearValues(g, vCircX[i], vCircY[i]-100, 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i]))
       
   223                 end
       
   224 			end
   222 			end
   225 		end
   223 		end
   226 	end
   224 	end
   227 
   225 
   228 	-- Update team labels
   226 	-- Update team labels