Import vehicle lifetime profit patch v3
http://www.tt-forums.net/viewtopic.php?p=1161735#p1161735
This commit is contained in:

committed by
Jonathan G Rennison

parent
137ecd5377
commit
71be17729e
@@ -2975,6 +2975,12 @@ bool AfterLoadGame()
|
||||
FOR_ALL_STATIONS(st) UpdateStationAcceptance(st, false);
|
||||
}
|
||||
|
||||
/* Set lifetime vehicle profit to 0 if save game before 195 */
|
||||
if (IsSavegameVersionBefore(195)) {
|
||||
Vehicle *v;
|
||||
FOR_ALL_VEHICLES(v) v->profit_lifetime = 0;
|
||||
}
|
||||
|
||||
/* Road stops is 'only' updating some caches */
|
||||
AfterLoadRoadStops();
|
||||
AfterLoadLabelMaps();
|
||||
|
Reference in New Issue
Block a user