aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-21 22:13:18 +0100
committerorwell96 <orwell@bleipb.de>2019-01-21 22:16:00 +0100
commit97145e0f062f34f6d4803c57f867253dc0e02342 (patch)
treeee58ea060cec7ef74216711f199adfc874ef7598
parentcb48aea3e0c3f031e4023fa85e16edec90ac16b8 (diff)
downloadadvtrains-97145e0f062f34f6d4803c57f867253dc0e02342.tar.gz
advtrains-97145e0f062f34f6d4803c57f867253dc0e02342.tar.bz2
advtrains-97145e0f062f34f6d4803c57f867253dc0e02342.zip
Additional info print for path_print()
-rw-r--r--advtrains/path.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/path.lua b/advtrains/path.lua
index 3250d7e..a0bcd04 100644
--- a/advtrains/path.lua
+++ b/advtrains/path.lua
@@ -126,6 +126,7 @@ function advtrains.path_print(train, printf)
printf("path_print: Path is invalidated/inexistant.")
return
end
+ printf("path_print: tid =",train.train_id," index =",train.index," end_index =",train.end_index," vel =",train.velocity)
printf("i: CP Position Dir CN ->Dist->")
for i = train.path_ext_b, train.path_ext_f do
if i==train.path_trk_b then