(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
This commit is contained in:
@@ -2868,7 +2868,7 @@ public:
|
||||
/* Wrap around. */
|
||||
if (this->index >= this->v->GetNumOrders()) this->index = 0;
|
||||
|
||||
Order *order = GetVehicleOrder(this->v, this->index);
|
||||
Order *order = this->v->GetOrder(this->index);
|
||||
assert(order != NULL);
|
||||
|
||||
switch (order->GetType()) {
|
||||
|
Reference in New Issue
Block a user