Highlight first Racer waypoint in placement phase
authorWuzzy <almikes@aol.com>
Wed, 23 Nov 2016 02:00:24 +0100
changeset 11989 ad38e2c7ab12
parent 11988 9e57915f5365
child 11990 b2783dd12f30
Highlight first Racer waypoint in placement phase
share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Wed Nov 23 01:05:34 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Wed Nov 23 02:00:24 2016 +0100
@@ -576,7 +576,11 @@
 
             wpX[wpCount] = x
             wpY[wpCount] = y
-            wpCol[wpCount] = 0xffffffff
+            if wpCount == 0 then
+                wpCol[wpCount] = 0x80ff80ff
+            else
+                wpCol[wpCount] = 0xffffffff
+            end
             wpCirc[wpCount] = AddVisualGear(wpX[wpCount],wpY[wpCount],vgtCircle,0,true)
 
             SetVisualGearValues(wpCirc[wpCount], wpX[wpCount], wpY[wpCount], 20, 100, 1, 10, 0, wpRad, 5, wpCol[wpCount])