1
0
Fork 0

(svn r1609) -Codechange: converted the last order-loop with FOR_VEHICLE_ORDERS

release/0.4.5
truelight 2005-01-23 13:08:01 +00:00
parent a11eddd04b
commit 80131e1e4a
1 changed files with 1 additions and 4 deletions

View File

@ -868,9 +868,8 @@ static void DrawSmallOrderList(Vehicle *v, int x, int y) {
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 *v, int x, int y) {
break;
}
}
order = order->next;
}
}