Reset overall lifetime profit to 0 when renewing vehicle.

This commit is contained in:
Jonathan G Rennison
2017-01-30 19:30:08 +00:00
parent 179e6df800
commit 529aafd257

View File

@@ -669,6 +669,7 @@ public:
this->profit_this_year = src->profit_this_year; this->profit_this_year = src->profit_this_year;
this->profit_last_year = src->profit_last_year; this->profit_last_year = src->profit_last_year;
this->profit_lifetime = -this->profit_this_year;
} }