Import vehicle lifetime profit patch v3

http://www.tt-forums.net/viewtopic.php?p=1161735#p1161735
This commit is contained in:
patch-import
2016-01-01 13:35:26 +00:00
committed by Jonathan G Rennison
parent 137ecd5377
commit 71be17729e
7 changed files with 29 additions and 2 deletions

View File

@@ -2657,6 +2657,7 @@ void VehiclesYearlyLoop()
}
v->profit_last_year = v->profit_this_year;
v->profit_lifetime += v->profit_this_year;
v->profit_this_year = 0;
SetWindowDirty(WC_VEHICLE_DETAILS, v->index);
}