(svn r516) Solved a little bug with the order checker.
authorcelestar
Sat, 06 Nov 2004 15:13:44 +0000
changeset 340 57ae229c5402
parent 339 75ed2d3a05ec
child 341 9d0ac356488a
(svn r516) Solved a little bug with the order checker.
order_cmd.c
--- a/order_cmd.c	Sat Nov 06 12:02:43 2004 +0000
+++ b/order_cmd.c	Sat Nov 06 15:13:44 2004 +0000
@@ -403,7 +403,7 @@
 			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);