Page 1 of 1

[0.11.x]Strange train definitions

Posted: Sat Nov 22, 2014 7:33 pm
by bobingabout
As you know, I'm a modder, so I often look through the game's code. This lets me grab code segments of existing items to use in my mods.

Today's Item to mod... Trains. The Diesel Locomotive, and Cargo Wagon.

So, I look at the Locomotive code, and what do I see? The Devs have added a set of resistances... Twice... but none to the cargo wagon.
These are the exact same set of Resistances defined twice in the Locomotive definitions.

I assume that this is an error, but, were the second set supposed to be pasted into the cargo wagon? The cargo wagon has no resistances, it is a logical conclusion.

Re: [0.11.x]Strange train definitions

Posted: Sun Nov 23, 2014 6:06 pm
by kovarex
This is probably true, I will take a look at it.

Re: [0.11.x]Strange train definitions

Posted: Mon Nov 24, 2014 1:11 am
by bobingabout
Thanks.

Re: [0.11.x]Strange train definitions

Posted: Mon Nov 24, 2014 10:35 am
by kovarex
You were right, it is fixed for the 0.11.4 (the second definition was moved to the wagon).