1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 07:59:09 +00:00

(svn r516) Solved a little bug with the order checker.

This commit is contained in:
celestar
2004-11-06 15:13:44 +00:00
parent 92d1dd153f
commit 9c1aa0b75f

View File

@@ -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);