(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
This commit is contained in:
@@ -748,7 +748,7 @@ static void HandleRoadVehLoading(Vehicle *v)
|
||||
if (--v->load_unload_time_rem != 0) return;
|
||||
|
||||
if (CanFillVehicle(v) && (v->current_order.flags & OF_FULL_LOAD ||
|
||||
(_patches.gradual_loading && !HASBIT(v->load_status, LS_LOADING_FINISHED)))) {
|
||||
(_patches.gradual_loading && !HASBIT(v->vehicle_flags, VF_LOADING_FINISHED)))) {
|
||||
SET_EXPENSES_TYPE(EXPENSES_ROADVEH_INC);
|
||||
if (LoadUnloadVehicle(v, false)) {
|
||||
InvalidateWindow(WC_ROADVEH_LIST, v->owner);
|
||||
|
||||
Reference in New Issue
Block a user