Fix: Mark vehicle status bars dirty when a vehicle leaves unbunching depot (#12516)
This commit is contained in:
committed by
Loïc Guilloux
parent
fe3a0a2418
commit
10ae9a7ea1
@@ -2543,6 +2543,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