r2144 - last_month_bev is not initialized November 27, 2008, 09:33:17 pm simutrans r2144Loading a new game doesn't initialize "last_month_bev" value.When I play with pak96.comic, default.sve has 2865 habitants.Then I load my saved game which has 1599 habitants. WORLD_GROWTH of this month shows as -1266.WORLD_GROWTH of this month = 1599 - 2865 = -1266 Quote Selected
Re: r2144 - last_month_bev is not initialized Reply #1 – November 28, 2008, 06:14:19 am Thank you. But still have a problem in r2145.Maybe.simworld.cc:3690Quote last_month_bev = finance_history_month[0][WORLD_CITICENS];=>Quote last_month_bev = finance_history_month[1][WORLD_CITICENS]; Quote Selected
Re: r2144 - last_month_bev is not initialized Reply #2 – November 28, 2008, 08:23:12 am Ok, correct typo spotted. Will correct it soon. Quote Selected