Timetable wait in depot: minor whitespace/style changes.
This commit is contained in:
@@ -316,10 +316,12 @@ static bool CheckShipLeaveDepot(Ship *v)
|
||||
{
|
||||
if (!v->IsChainInDepot()) return false;
|
||||
|
||||
if (v->current_order.IsWaitTimetabled())
|
||||
if (v->current_order.IsWaitTimetabled()) {
|
||||
v->HandleWaiting(false);
|
||||
if (v->current_order.IsType(OT_WAITING))
|
||||
}
|
||||
if (v->current_order.IsType(OT_WAITING)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/* We are leaving a depot, but have to go to the exact same one; re-enter */
|
||||
if (v->current_order.IsType(OT_GOTO_DEPOT) &&
|
||||
|
Reference in New Issue
Block a user