The International Simutrans Forum

 

Author Topic: Another bug in -devel: comfort computations are wrong (fixed in my git)  (Read 1719 times)

0 Members and 1 Guest are viewing this topic.

Offline neroden

  • Devotees (Inactive)
  • *
  • Posts: 831
  • Nathanael Nerode
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.
« Last Edit: July 09, 2010, 06:57:36 PM by neroden »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Thank you for the fixes! Much appreciated.