equal
deleted
inserted
replaced
2417 } else { |
2417 } else { |
2418 _patches.pathfinder_for_ships = (_patches.new_pathfinding_all ? VPF_NPF : VPF_OPF); |
2418 _patches.pathfinder_for_ships = (_patches.new_pathfinding_all ? VPF_NPF : VPF_OPF); |
2419 } |
2419 } |
2420 } |
2420 } |
2421 |
2421 |
|
2422 if (CheckSavegameVersion(88)) { |
|
2423 /* Profits are now with 8 bit fract */ |
|
2424 Vehicle *v; |
|
2425 FOR_ALL_VEHICLES(v) { |
|
2426 v->profit_this_year <<= 8; |
|
2427 v->profit_last_year <<= 8; |
|
2428 v->running_ticks = 0; |
|
2429 } |
|
2430 } |
|
2431 |
2422 return InitializeWindowsAndCaches(); |
2432 return InitializeWindowsAndCaches(); |
2423 } |
2433 } |
2424 |
2434 |
2425 /** Reload all NewGRF files during a running game. This is a cut-down |
2435 /** Reload all NewGRF files during a running game. This is a cut-down |
2426 * version of AfterLoadGame(). |
2436 * version of AfterLoadGame(). |