share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 12963 544c4302efe4
parent 12962 52c12029c7bd
child 12964 a5c5fe878a4e
equal deleted inserted replaced
12962:52c12029c7bd 12963:544c4302efe4
   510                 fastIndex = 0
   510                 fastIndex = 0
   511                 if endTurn then
   511                 if endTurn then
   512                         EndTurn(true)
   512                         EndTurn(true)
   513                 end
   513                 end
   514                 racerActive = false -- newadd
   514                 racerActive = false -- newadd
       
   515 
       
   516 		if trackFinished and not turnSkipped then
       
   517                          for i=0, wpCount-1 do
       
   518                        	         SetVisualGearValues(wpCirc[i], nil, nil, 255, 255, nil, 2)
       
   519                          end
       
   520                 elseif not turnSkipped then
       
   521                          for i=0, wpCount-1 do
       
   522                        	         SetVisualGearValues(wpCirc[i], nil, nil, 32, 32, nil, 1)
       
   523                          end
       
   524                 end
   515         end
   525         end
   516 end
   526 end
   517 
   527 
   518 function HandleGhost()
   528 function HandleGhost()
   519 
   529