Merge branch 'service_autorenew' into jgrpp
This commit is contained in:
@@ -191,6 +191,11 @@ bool Vehicle::NeedsServicing() const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Is vehicle old and renewing is enabled */
|
||||||
|
if (this->NeedsAutorenewing(c, true)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
/* Test whether there is some pending autoreplace.
|
/* Test whether there is some pending autoreplace.
|
||||||
* Note: We do this after the service-interval test.
|
* Note: We do this after the service-interval test.
|
||||||
* There are a lot more reasons for autoreplace to fail than we can test here reasonably. */
|
* There are a lot more reasons for autoreplace to fail than we can test here reasonably. */
|
||||||
|
Reference in New Issue
Block a user