Fix: Mark vehicle status bars dirty when a vehicle leaves unbunching depot (#12516)
This commit is contained in:
@@ -2545,6 +2545,7 @@ void Vehicle::LeaveUnbunchingDepot()
|
|||||||
if (u->vehstatus & (VS_STOPPED | VS_CRASHED)) continue;
|
if (u->vehstatus & (VS_STOPPED | VS_CRASHED)) continue;
|
||||||
|
|
||||||
u->depot_unbunching_next_departure = next_departure;
|
u->depot_unbunching_next_departure = next_departure;
|
||||||
|
SetWindowDirty(WC_VEHICLE_VIEW, u->index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user