share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 13685 09ea1faf97ca
parent 13630 fe7d2bbf5f3f
child 13768 2fceeea62b10
child 13798 e874bfe563c7
equal deleted inserted replaced
13684:739fd039daaa 13685:09ea1faf97ca
   610         -- draw a ping of smoke where the fastest player was at this point
   610         -- draw a ping of smoke where the fastest player was at this point
   611         if (fastCount ~= 0) and (fastIndex < fastCount) then
   611         if (fastCount ~= 0) and (fastIndex < fastCount) then
   612 
   612 
   613                 fastIndex = fastIndex + 1
   613                 fastIndex = fastIndex + 1
   614 
   614 
   615                 tempE = AddVisualGear(fastX[fastIndex], fastY[fastIndex], vgtSmoke, 0, false)
   615                 local tempE = AddVisualGear(fastX[fastIndex], fastY[fastIndex], vgtSmoke, 0, false)
   616                 g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE)
   616                 SetVisualGearValues(tempE, nil, nil, nil, nil, nil, nil, nil, nil, nil, fastColour )
   617                 SetVisualGearValues(tempE, g1, g2, g3, g4, g5, g6, g7, g8, g9, fastColour )
       
   618 
   617 
   619         end
   618         end
   620 
   619 
   621 end
   620 end
   622 
   621