--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Tue Aug 21 22:31:50 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Tue Aug 21 22:52:46 2018 +0200
@@ -194,7 +194,6 @@
local x,y,color
local vgear
- local vgtX, vgtY, vgtdX, vgtdY, vgtAngle, vgtFrame, vgtFrameTicks, vgtState, vgtTimer, vgtTint
local dspl = IsHogLocal(CurrentHedgehog)
local ammolist = ''
@@ -225,9 +224,8 @@
y = y + 32
vgear = AddVisualGear(x, y, vgtAmmo, 0, true)
if vgear ~= nil then
- vgtX,vgtY,vgtdX,vgtdY,vgtAngle,vgtFrame,vgtFrameTicks,vgtState,vgtTimer,vgtTint = GetVisualGearValues(vgear)
- vgtFrame = w
- SetVisualGearValues(vgear,vgtX,vgtY,vgtdX,vgtdY,vgtAngle,vgtFrame,vgtFrameTicks,vgtState,vgtTimer,vgtTint)
+ local vgtFrame = w
+ SetVisualGearValues(vgear,nil,nil,nil,nil,nil,vgtFrame)
end
end