Additional info print for path_print()

This commit is contained in:
orwell96 2019-01-21 22:13:18 +01:00
parent cb48aea3e0
commit 97145e0f06
1 changed files with 1 additions and 0 deletions

View File

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