Timetable wait in depot: minor whitespace/style changes.

This commit is contained in:
Jonathan G Rennison
2015-08-03 01:06:42 +01:00
parent d8c5de188f
commit 4d1c4d18be
5 changed files with 17 additions and 8 deletions

View File

@@ -2131,10 +2131,12 @@ static bool CheckTrainStayInDepot(Train *v)
return true;
}
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;
}
SigSegState seg_state;