Skip to main content
Topic: [patch] Remove powerlines (Read 3982 times) previous topic - next topic

[patch] Remove powerlines

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). ]

Re: [patch] Remove powerlines

Reply #1
Very good, that is a function I was missing dearly!
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Re: [patch] Remove powerlines

Reply #2
@prissi: Thank you for improving and including it!

 

Re: [patch] Remove powerlines

Reply #3
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 :)