The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: z9999 on April 28, 2009, 06:03:04 pm

Title: v102- Max. capacity of stations
Post by: z9999 on April 28, 2009, 06:03:04 pm
In older simutrans, 'haltestelle_t capacity' was station level. Thus, max. capacity of station was 65535*32=2097120, and this was unreachable number.
(My 3capacities patch was the same.)

But in v102, 'haltestelle_t capacity' is capacity. Thus, max. capacity of station is only 65535, and this is easily reachable for players.

If station capacity exceeds 65535, it returns to zero. But players can continue to build a station or a station buildings without any error messages.
I think this is a problem.

Is 65535 capacity intended ? Then, it needs to forbid to build a station or a station buildings more than that.
Title: Re: v102- Max. capacity of stations
Post by: Dwachs on April 29, 2009, 06:29:25 pm
the capacity-variables can easily be changed to 32bit.
Title: Re: v102- Max. capacity of stations
Post by: prissi on April 30, 2009, 07:35:42 am
Anyway they shoudl also ...