Skip to main content
Topic: Convoy length in tiles. (Read 3610 times) previous topic - next topic

Convoy length in tiles.

From gui/convoi_detail_t.cc:
Code: [Select]
sprintf( tmp, "%s %i", translator::translate("Station tiles:"), cnv->get_tile_length() );
From gui/components/gui_convoy_****embler.cc
Code: [Select]
translator::translate("Station tiles:"), (vsum.length + TILE_STEPS - 1) / TILE_STEPS);
From: gui/components/gui_convoy_label.cc
Code: [Select]
translator::translate("Station tiles:"), (convoy.get_vehicle_summary().length + TILE_STEPS - 1)/TILE_STEPS);
As I can see get_tile_length is not '(vehicle_summary.length + TILE_STEPS - 1)/TILE_STEPS)'
What version is right?

Re: Convoy length in tiles.

Reply #1
Thanks for spotting out this source of inconsistency.

I changed the code for convoy_summary_t.
The journey is the reward!

Re: Convoy length in tiles.

Reply #2
It is not merged to main simutrans-exp repository. Why?

Re: Convoy length in tiles.

Reply #3
James did not merge anything to the main simutrans-exp. We have to wait...
The journey is the reward!

Re: Convoy length in tiles.

Reply #4
Sorry for being slow with the updating - I have been rather preoccupied recently, but am catching up now. I have merged all of the latest updates into the -devel branch.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: Convoy length in tiles.

Reply #5
James, please merge this patch too (from Gabriel master brunch). It is very annoying  bug.

 

Re: Convoy length in tiles.

Reply #6
Ahh, I'd forgotten about this patch - thank you for reminding me! Merging now.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.