(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
1 changed files with 1 additions and 1 deletions

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