News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[patch] Remove powerlines

Started by gerw, January 30, 2009, 10:11:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gerw

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

Combuijs

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

Programmer: No user, no bugs



gerw

@prissi: Thank you for improving and including it!

lukesleftleg

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 :)