mirror of https://github.com/OpenTTD/OpenTTD
(svn r516) Solved a little bug with the order checker.
parent
92d1dd153f
commit
9c1aa0b75f
|
@ -403,7 +403,7 @@ int CheckOrders(Vehicle *v)
|
||||||
problem_type = 2;
|
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);
|
SET_DPARAM16(0, v->unitnumber);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue