src/aircraft_cmd.cpp
changeset 5651 79496e6d8a56
parent 5601 d58f82901b2f
child 5668 36b39f4a9032
equal deleted inserted replaced
5650:abe82ec83232 5651:79496e6d8a56
  1368 			v->index,
  1368 			v->index,
  1369 			0);
  1369 			0);
  1370 	}
  1370 	}
  1371 
  1371 
  1372 	old_order = v->current_order;
  1372 	old_order = v->current_order;
  1373 	v->current_order.type = OT_LOADING;
  1373 	v->BeginLoading();
  1374 	v->current_order.flags = 0;
  1374 	v->current_order.flags = 0;
  1375 
  1375 
  1376 	if (old_order.type == OT_GOTO_STATION &&
  1376 	if (old_order.type == OT_GOTO_STATION &&
  1377 			v->current_order.dest == v->last_station_visited) {
  1377 			v->current_order.dest == v->last_station_visited) {
  1378 		v->current_order.flags =
  1378 		v->current_order.flags =