summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-19 09:30:05 +0000
committerdominik <dominik@openttd.org>2004-12-19 09:30:05 +0000
commit61d744c38a8b98feb30b2eeb6e8cea5aa6e9404f (patch)
treef43520564f0c1b39c41fa5f216c9cda35fb1fb66
parent453c85e61de28d36b903d8632f07e1dca7c65f07 (diff)
downloadopenttd-61d744c38a8b98feb30b2eeb6e8cea5aa6e9404f.tar.xz
(svn r1164) Redid fix from revision 1163 to work with all patch settings
-rw-r--r--order_cmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/order_cmd.c b/order_cmd.c
index cb9c43d22..10c80048d 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -375,7 +375,10 @@ 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) || (v->vehstatus & VS_CRASHED)) )
+ if(v->vehstatus & VS_CRASHED)
+ return 0;
+
+ if ( (_patches.order_review_system == 1) && (v->vehstatus & VS_STOPPED) )
return 0;
/* only check every 20 days, so that we don't flood the message log */