News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Trouble in the convoy copy code

Started by neroden, April 01, 2010, 03:09:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neroden

OK, new bug.  In a road depot, using pak Britain Ex 0.5, build a convoy with a single horse and a Stage Wagon (mail).

Then hit "copy convoy".  Result: one broken convoy with * single horse * Stage Wagon (mail) * single horse * and one convoy consisting only of a Stage Wagon (mail).

This one should be fun to track down.   :P

Bernd Gabriel

It needed an additional *single horse* of a previously disassembled convoy to reproduce this error.

Will be fixed in Simutrans Experimental 8.

The corrected simdepot.cc/.h can be found in the branch "7.2" at http://github.com/BerndGabriel/simutrans-experimental
The journey is the reward!

jamespetts

Neroden, thank you very much for your report, and Bernd, thank you very much for your fix - both greatly appreciated!
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.

neroden

Quote from: Bernd Gabriel on April 01, 2010, 10:58:09 PM
It needed an additional *single horse* of a previously disassembled convoy to reproduce this error.

Will be fixed in Simutrans Experimental 8.

The corrected simdepot.cc/.h can be found in the branch "7.2" at http://github.com/BerndGabriel/simutrans-experimental

Nice work!