Skip to main content
Topic: 0.100.0, r1973, r1986 : maintenance_building  (Read 4156 times) previous topic - next topic

0.100.0, r1973, r1986 : maintenance_building

testet Windows XP Pro

create a simuconf.tab in [userdir]/simutrans

entries

Code: [Select]
# display (screen/window) width
# also see readme.txt, -screensize option
display_width  = 900

# display (screen/window) height
# also see readme.txt, -screensize option
display_height = 560

the maintenance from player building level 1 and 2 is 200 Cr
level 4 is 400 Cr

Re: 0.100.0, r1973, r1986 : maintenance_building

Reply #1
no bits_per_day entry? This is the usual cause for this ...


Re: 0.100.0, r1973, r1986 : maintenance_building

Reply #3
This will solve the problem.

simmain.cc:285
Quote
   umgebung_t::maint_building = contents.get_int("maintenance_building", 5000);
=>
Quote
   umgebung_t::maint_building = contents.get_int("maintenance_building", umgebung_t::maint_building);

BTW, Default umgebung_t::maint_building is only 500. Is this the right value ?  ???

dataobj/umgebung.cc:66
Quote
sint32 umgebung_t::maint_building = 500;