# HG changeset patch # User Wuzzy # Date 1534883510 -7200 # Node ID 739fd039daaaccf3b0c87c1518f3acaf8c986560 # Parent 5662360f6a4a9253f46be63548192b7464d13ae6 Animate: Remove follow arg from AnimVisualGear diff -r 5662360f6a4a -r 739fd039daaa ChangeLog.txt --- a/ChangeLog.txt Tue Aug 21 21:02:01 2018 +0200 +++ b/ChangeLog.txt Tue Aug 21 22:31:50 2018 +0200 @@ -106,6 +106,7 @@ + New global: cMaxTurnTime. Maximum possible turn time + New global: EXPLForceDraw. Flag for Explode function, forces land removal even with gfSolidLand on + New globals: capcolDefault, capcolSetting: Default caption colors + * Animate library: Remove defunct follow argument for AnimVisualGear * Changed global: lfCurrentHog becomes lfCurHogCrate * Fixed variable: TotalRounds was -1 (instead of 0) in first real round after hog placement phase * AI sometimes intentionally shot hedgehogs with aihDoesntMatter set diff -r 5662360f6a4a -r 739fd039daaa share/hedgewars/Data/Scripts/Animate.lua --- a/share/hedgewars/Data/Scripts/Animate.lua Tue Aug 21 21:02:01 2018 +0200 +++ b/share/hedgewars/Data/Scripts/Animate.lua Tue Aug 21 22:31:50 2018 +0200 @@ -256,11 +256,8 @@ return true end -function AnimVisualGear(gear, x, y, vgType, state, critical, follow) - local vgear = AddVisualGear(x, y, vgType, state, critical) - if follow == true then - FollowGear(vgear) - end +function AnimVisualGear(gear, x, y, vgType, state, critical) + AddVisualGear(x, y, vgType, state, critical) return true end