tra->maxinto= pci->dist - newfdet.remain;
ec= predict(tra,tnow, PREDF_NEWPLAN,0,0, ppc,ppcu);
- if (!ec) return 0; /* yay! */
+ if (!ec) {
+ /* yay! */
+ report_train_position(tra);
+ return 0;
+ }
/* It can happen eg that the uncertainty is more troublesome when
* considered one way than the other. In which case just put it back now. */