--- 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
--- 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