News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Another bug in -devel: comfort computations are wrong (fixed in my git)

Started by neroden, July 09, 2010, 06:30:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neroden

Single horse + hackney carriage = comfort 150 (look at the chart)
Double horse + omnibus = comfort 114 (look at the chart)

It's very irritating that -devel gets badly broken so routinely.  

EDIT: I've fixed this one, on my github in my jp-devel branch.

The bug was an improper computation of comfort when there was exactly one passenger vehicle.

While I was at it (eyeroll) I fixed two other logic bugs in the computation of comfort related to standing passengers.

jamespetts

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.