News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[bug] Reading cityname.txt doesn't ignore empty line

Started by z9999+, November 29, 2009, 12:56:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999+

The first line of citylist_ja.txt is "§". This will make a empty cityname.

Quote
§
東京
品川
横浜

But cityname.txt doesn't allow to use "#" as commented line, so we can't use "§#" as the first line.
The correct one should be "§東京".

Quote
§東京
品川
横浜

Is is possible to avoid this by changing code or you need to change citylist_ja.txt.

prissi


z9999+

#2
Thank you for trying to fix the problem.
But unfortunately r2906 doesn't work well.

When I start a game, all cityname is empty in Japanese.
I'm using default citylist_ja.txt.


Solved the problem in r2908. Thank you.