Skip to main content
Topic: [solved]r2413- Wrong tunnel maintenance cost (again) (Read 3489 times) previous topic - next topic

[solved]r2413- Wrong tunnel maintenance cost (again)

r2413
The case of figure, tunnel maintenance cost is wrong.

Re: r2413- Wrong tunnel maintenance cost (again)

Reply #1
I will have a look for it.

Re: r2413- Wrong tunnel maintenance cost (again)

Reply #2
This should be fixed in nightly too now.

Re: r2413- Wrong tunnel maintenance cost (again)

Reply #3
The
Code: [Select]
if(sp!=NULL) {
you've added in r2414 isn't necessary, since it's already checked in add_maintenance.

 

Re: r2413- Wrong tunnel maintenance cost (again)

Reply #4
And problem is not solved yet.

Re: r2413- Wrong tunnel maintenance cost (again)

Reply #5
Vorzeichenfehler ;) (wrong sign)

Patch attached.

Re: [solved]r2413- Wrong tunnel maintenance cost (again)

Reply #6
Solved in r2421. Thank you.