summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-18 21:11:45 +0000
committerdominik <dominik@openttd.org>2004-12-18 21:11:45 +0000
commit453c85e61de28d36b903d8632f07e1dca7c65f07 (patch)
treeb40ca2c4d0d19d1c312a6041552e446430d1887a
parent853c11d301cd5ad662b1c73b58f2581f0e49997a (diff)
downloadopenttd-453c85e61de28d36b903d8632f07e1dca7c65f07.tar.xz
(svn r1163) Fix: [ 1087403 ] Crashed trains aren't reported to have too few orders any more
-rw-r--r--order_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/order_cmd.c b/order_cmd.c
index 9de4a8c18..cb9c43d22 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -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 */