mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-21 22:53:19 +00:00
(svn r1164) Redid fix from revision 1163 to work with all patch settings
This commit is contained in:
parent
453c85e61d
commit
61d744c38a
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user