The International Simutrans Forum

Development => Bug Reports => Topic started by: z9999+ on October 15, 2009, 09:59:37 AM

Title: [bug r2773] "Simuconf.tab" button doesn't read "pak/config/simuconf.tab" ?
Post by: z9999+ on October 15, 2009, 09:59:37 AM
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.
Title: Re: [bug r2773] "Simuconf.tab" button doesn't read "pak/config/simuconf.tab" ?
Post by: prissi on October 15, 2009, 01:18:11 PM
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.