aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-11-27 17:46:01 +0100
committerGitHub <noreply@github.com>2017-11-27 17:46:01 +0100
commit7681de96c95a716f7910a42b0f2beb5b23b1df47 (patch)
tree93774a9ee48dfab87d97c862262f7859456d90fb
parenta3d3520fdb77c1442df69edc8f916662f3138d7d (diff)
downloadadvtrains-7681de96c95a716f7910a42b0f2beb5b23b1df47.tar.gz
advtrains-7681de96c95a716f7910a42b0f2beb5b23b1df47.tar.bz2
advtrains-7681de96c95a716f7910a42b0f2beb5b23b1df47.zip
remove superfluous parameter
... from update_trainpart_properties call Prohibits flipping of all wagons when extent_h wasn't set
-rw-r--r--advtrains/trainlogic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua
index 8fe4c6a..d51f1eb 100644
--- a/advtrains/trainlogic.lua
+++ b/advtrains/trainlogic.lua
@@ -560,7 +560,7 @@ function advtrains.train_step_b(id, train, dtime)
if train_moves then
--TO BE REMOVED:
- if not train.extent_h then advtrains.update_trainpart_properties(id, train) end
+ if not train.extent_h then advtrains.update_trainpart_properties(id) end
local collpos
local coll_grace=1