Skip to main content
Topic: [bug r2773] "Simuconf.tab" button doesn't read "pak/config/simuconf.tab" ? (Read 3570 times) previous topic - next topic

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

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.

 

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

Reply #1
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.