HedgeEditor: Fix girder sprite being displayed a top left
authorWuzzy <almikes@aol.com>
Sat, 09 Apr 2016 06:38:11 +0200
changeset 11998 b061f4bae002
parent 11997 c3c7c036c521
child 11999 6fd96a5d4e6f
HedgeEditor: Fix girder sprite being displayed a top left
share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sat Apr 09 06:09:59 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sat Apr 09 06:38:11 2016 +0200
@@ -3852,8 +3852,7 @@
 	frameID = 1
 	visualSprite = sprAmGirder
 	sSprite = AddVisualGear(0, 0, vgtStraightShot, 0, true,1)
-	g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(sSprite)
-	SetVisualGearValues(sSprite, 1, 1, 0, 0, g5, frameID, 20000, visualSprite, 20000, g10 )
+	SetVisualGearValues(sSprite, 1, 1, 0, 0, nil, frameID, 20000, visualSprite, 20000, 0 )
 
 	SetAmmoDelay(amAirAttack,0)
 	SetAmmoDelay(amGirder,0)