Re: Trains sometimes takes a tile more
Reply #7 –
Does this help?
Index: simconvoi.cc
===================================================================
--- simconvoi.cc (revision 2615)
+++ simconvoi.cc (working copy)
@@ -589,7 +589,7 @@
// now actually move the units
while(sp_soll>>12) {
uint32 sp_hat = fahr[0]->fahre_basis(1<<12);
- int v_nr = get_vehicle_at_length((steps_driven++)>>4);
+ int v_nr = get_vehicle_at_length((++steps_driven)>>4);
// stop when depot reached
if(state==INITIAL) {
break;