diff options
author | dominik <dominik@openttd.org> | 2004-12-19 09:30:05 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-12-19 09:30:05 +0000 |
commit | f94216271cfb3fa39274a817c54d9cebfead0380 (patch) | |
tree | f43520564f0c1b39c41fa5f216c9cda35fb1fb66 | |
parent | 3696391f600c3b518facc0fdcda75adbc05800c7 (diff) | |
download | openttd-f94216271cfb3fa39274a817c54d9cebfead0380.tar.xz |
(svn r1164) Redid fix from revision 1163 to work with all patch settings
-rw-r--r-- | order_cmd.c | 5 |
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 */ |