The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: gerw on January 30, 2009, 10:11:48 pm

Title: [patch] Remove powerlines
Post by: gerw on January 30, 2009, 10:11:48 pm
With this patch you can remove a whole track of powerlines (like removing rail tracks or streets). You have to expand your (special) toolbar with something like this (wrong icon)
Code: [Select]
toolbar[8][15]=general_tool[17],16,,128


[ vehicle_besch_t::typ is now sint16, since powerline_wt = 128, which isn't a sint8 (-128..127). ]
Title: Re: [patch] Remove powerlines
Post by: Combuijs on January 30, 2009, 11:56:31 pm
Very good, that is a function I was missing dearly!
Title: Re: [patch] Remove powerlines
Post by: gerw on February 01, 2009, 10:25:06 am
@prissi: Thank you for improving and including it!
Title: Re: [patch] Remove powerlines
Post by: lukesleftleg on February 01, 2009, 10:32:10 am
Do you know....

I was going to suggest that very thing in extention requests.

I was just going to wait until I'd been around long enough to make extention requests.

Nice one.
Thanks very much :)