diff options
author | celestar <celestar@openttd.org> | 2004-11-06 15:13:44 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2004-11-06 15:13:44 +0000 |
commit | 9c1aa0b75fcce1aab0b2fb86230b9dc175483a88 (patch) | |
tree | 24851f288c2027f8334befd68f19c487829aee38 /order_cmd.c | |
parent | 92d1dd153f2c60092a866e44a54c1682b9aca5af (diff) | |
download | openttd-9c1aa0b75fcce1aab0b2fb86230b9dc175483a88.tar.xz |
(svn r516) Solved a little bug with the order checker.
Diffstat (limited to 'order_cmd.c')
-rw-r--r-- | order_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/order_cmd.c b/order_cmd.c index a411a411e..6e5e0d04c 100644 --- a/order_cmd.c +++ b/order_cmd.c @@ -403,7 +403,7 @@ int CheckOrders(Vehicle *v) problem_type = 2; } - if (n_st < 2) problem_type = 0; + if ( (n_st < 2) && (problem_type == -1) ) problem_type = 0; SET_DPARAM16(0, v->unitnumber); |