The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ters on December 06, 2011, 07:23:05 PM

Title: Obsolete vehicle filter
Post by: Ters on December 06, 2011, 07:23:05 PM
I have for a long time occasionally wanted a filter in the vehicle list for finding obsolete vehicles, so now I tried to write one. What I have made appears to work, but it would be nice if an experienced simutrans developer could take a look at it. I might have missed something that won't crash instantly, but cause random errors over time.
Title: Re: Obsolete vehicle filter
Post by: prissi on December 06, 2011, 07:50:25 PM
Just to be curious, why? For instance pak64 forbids buying obsolete vehicles.

EDIT: Somehow we had here so many depot filters, I was in the wrong dialogue. Sure. I seems Dwachs already submitted it.
Title: Re: Obsolete vehicle filter
Post by: Dwachs on December 06, 2011, 07:57:18 PM
Yes, too late to complain :P Incorporated in r 4994.

Indeed it was for the convoi list filter...

Thank you Ters!
Title: Re: Obsolete vehicle filter
Post by: Ters on December 06, 2011, 08:00:48 PM
That was quick. I only started coding two hours ago or less.