(svn r8110) -Codechange: direct Vehicle::current_order.type changes (to OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue.
This commit is contained in:
@@ -251,6 +251,9 @@ struct Vehicle {
|
||||
VehicleDisaster disaster;
|
||||
VehicleShip ship;
|
||||
} u;
|
||||
|
||||
void BeginLoading();
|
||||
void LeaveStation();
|
||||
};
|
||||
|
||||
#define is_custom_sprite(x) (x >= 0xFD)
|
||||
|
||||
Reference in New Issue
Block a user