remove superfluous parameter

... from update_trainpart_properties call
Prohibits flipping of all wagons when extent_h wasn't set
master
orwell96 2017-11-27 17:46:01 +01:00 committed by GitHub
parent a3d3520fdb
commit 7681de96c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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