1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

(svn r1163) Fix: [ 1087403 ] Crashed trains aren't reported to have too few orders any more

This commit is contained in:
dominik
2004-12-18 21:11:45 +00:00
parent 853c11d301
commit 453c85e61d

View File

@@ -375,7 +375,7 @@ int CheckOrders(Vehicle *v)
if (!_patches.order_review_system) //User doesn't want things to be checked
return 0;
if ( (_patches.order_review_system == 1) && (v->vehstatus & VS_STOPPED) )
if ( (_patches.order_review_system == 1) && ((v->vehstatus & VS_STOPPED) || (v->vehstatus & VS_CRASHED)) )
return 0;
/* only check every 20 days, so that we don't flood the message log */