share/hedgewars/Data/Maps/Control/map.lua
changeset 4767 4ee4a49549e2
parent 4698 6f14ef3e40ae
child 4953 ebd3dae634ca
equal deleted inserted replaced
4764:674cdcf8b661 4767:4ee4a49549e2
   198 	-- 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	
   198 	-- 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	
   199 	for i = 0,(zCount-1) do			
   199 	for i = 0,(zCount-1) do			
   200 		if CurrentHedgehog ~= nil then		
   200 		if CurrentHedgehog ~= nil then		
   201 			if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then
   201 			if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then
   202 				g = AddVisualGear(vCircX[i], vCircY[i], vgtHealthTag, 100, False)
   202 				g = AddVisualGear(vCircX[i], vCircY[i], vgtHealthTag, 100, False)
   203 				SetVisualGearValues(g, vCircX[i], vCircY[i], 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i]))
   203                 if g ~= 0 then
       
   204 				    SetVisualGearValues(g, vCircX[i], vCircY[i], 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i]))
       
   205                 end
   204 			end
   206 			end
   205 		end
   207 		end
   206 	end
   208 	end
   207 
   209 
   208 end
   210 end