# HG changeset patch # User Wuzzy # Date 1460180415 -7200 # Node ID 936ac92cb67a14eeb570d49520fa7927cc9e604f # Parent ec3fe306893218cc40fecaff4c02561fbca5be00 HedgeEditor: Improve graphics on girder/rubber placement diff -r ec3fe3068932 -r 936ac92cb67a share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Sat Apr 09 07:16:01 2016 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Sat Apr 09 07:40:15 2016 +0200 @@ -3176,6 +3176,9 @@ sCirc = AddVisualGear(0,0,vgtCircle,0,true) SetVisualGearValues(sCirc, 0, 0, 100, 255, 1, 10, 0, 40, 3, 0xffba00ff) + --[[ This is a small hack to disable Hedgewars' girder placement since we do it on our own; + this will remove the "girder circle" and gets rid of the placement failure animation ]] + SetMaxBuildDistance(1) frameID = 1 visualSprite = sprAmGirder