News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

[bug r2773] "Simuconf.tab" button doesn't read "pak/config/simuconf.tab" ?

Started by z9999+, October 15, 2009, 09:59:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999+

r2773: I tested like this.

1. Wrote "water_animation_ms = 0" in "config/simuconf.tab"
2. Wrote "water_animation_ms = 250" in "pak/config/simuconf.tab"
3. When I start simutrans, water_animation is ON.
4. Open "Setting" window and click "Simuconf.tab" button

Result:
water_animation stopped.

It is not default isn't it ?


[edit]
This is the same problem as "river" problem.

-singleuser mode => problem
-multiuser mode => no problem

In simworld.cc, I added many close() to solve same problem before.

prissi

open calls close before (see tabfile_t::open), so that should not make a difference. But the simuconf.tab in the user directory was not read, since it is *not* in a config folder. Should be fixed now.