Changeset - r1108:5ffe440bcfdc
[Not reviewed]
master
0 1 0
truelight - 20 years ago 2005-01-23 13:08:01
truelight@openttd.org
(svn r1609) -Codechange: converted the last order-loop with FOR_VEHICLE_ORDERS
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
ship_gui.c
Show inline comments
 
@@ -868,9 +868,8 @@ static void DrawSmallOrderList(Vehicle *
 
	int sel, i = 0;
 

	
 
	sel = v->cur_order_index;
 
	order = v->orders;
 

	
 
	while (order != NULL) {
 
	FOR_VEHICLE_ORDERS(v, order) {
 
		if (sel == 0) {
 
			_stringwidth_base = 0xE0;
 
			DoDrawString( "\xAF", x-6, y, 16);
 
@@ -888,8 +887,6 @@ static void DrawSmallOrderList(Vehicle *
 
					break;
 
			}
 
		}
 

	
 
		order = order->next;
 
	}
 
}
 

	
0 comments (0 inline, 0 general)