The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: tick tock on May 17, 2009, 10:24:31 am

Title: [Fixed v3.9] Revenue calculation following transfers
Post by: tick tock on May 17, 2009, 10:24:31 am
After a transfer, the sum of a p****enger's entire journey up to that point is being added to revenue at later transfer stops and at the final destination stop. Just the amount for the current leg (based on distance from the previous transfer stop) should be added.

EX:

3 stops A,B,C
2 trams - one line from A to B, one line from B to C

revenue per p****enger:
For origin A to dest B = 1.00
For origin B to dest C = 1.00

For origin A to transfer B to dest C:
Revenue paid from A to the transfer stop B = 1.00.  No problem.
Revenue paid from the transfer stop B to C = 2.00.  Problem -- the increase in revenue is being calculated as (A to B)+(B to C), but (A to B) has already been paid.
Total=3.00, but should be 2.00


Edit:  Fixed in v3.9
Title: Re: [Bug v3.8] Revenue calculation following transfers
Post by: jamespetts on May 17, 2009, 03:10:43 pm
Fixed in version 3.9. Thank you very much for the report!