Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train running cost not changing right with NARS 2.03 trains #3551

Closed
DorpsGek opened this issue Jan 22, 2010 · 2 comments
Closed

Train running cost not changing right with NARS 2.03 trains #3551

DorpsGek opened this issue Jan 22, 2010 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Sevalecan opened the ticket and wrote:

I noticed when playing with versions of openttd later than 0.7.5 that the trains in NARS would stop adjusting their running cost while running based on whether they were stopped, moving, accelerating, whatever after they had stopped and attempted to pick up a load at a station. After which point the running cost just stays the same.

I have to admit I'm almost curious if it was intended to behave this way anyway because I tried it with the regular trains and their running costs never seem to change at all even with realistic acceleration enabled.

I did a git bisect and found the first bad commit to be svn r18764, this bug is still present in the trunk at the time I tried it. Looking at the diff I couldn't really guess anything off hand of why it's doing this, so I'll leave it to someone who can make more sense of the code than I, as I've never been good at digging into other people's projects.

Attachments

Reported version: trunk
Operating system: Linux


This issue was imported from FlySpray: https://bugs.openttd.org/task/3551
@DorpsGek
Copy link
Member Author

peter1138 wrote:

Variable running costs is indeed a feature of NARS that the default vehicles do not support.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3551#comment7420

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r18935


This comment was imported from FlySpray: https://bugs.openttd.org/task/3551

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant