summaryrefslogtreecommitdiff
path: root/order_cmd.c
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
commit3696391f600c3b518facc0fdcda75adbc05800c7 (patch)
treeb40ca2c4d0d19d1c312a6041552e446430d1887a /order_cmd.c
parent88a8fa010486ce251273b5ea94197310a6a1ea3c (diff)
downloadopenttd-3696391f600c3b518facc0fdcda75adbc05800c7.tar.xz
(svn r1163) Fix: [ 1087403 ] Crashed trains aren't reported to have too few orders any more
Diffstat (limited to 'order_cmd.c')
-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 */