The International Simutrans Forum

 

Author Topic: [bug r2773] "Simuconf.tab" button doesn't read "pak/config/simuconf.tab" ?  (Read 2141 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999+

  • Coder/patcher
  • *
  • Posts: 377
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.
« Last Edit: October 15, 2009, 10:36:33 AM by z9999+ »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9566
  • Languages: De,EN,JP
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.