Import timetabling wait time in depots patch

http://www.tt-forums.net/viewtopic.php?f=33&t=70969
This commit is contained in:
patch-import
2015-08-03 01:06:05 +01:00
committed by Jonathan G Rennison
parent 498556d6ce
commit d8c5de188f
12 changed files with 81 additions and 4 deletions

View File

@@ -2131,6 +2131,11 @@ static bool CheckTrainStayInDepot(Train *v)
return true;
}
if (v->current_order.IsWaitTimetabled())
v->HandleWaiting(false);
if (v->current_order.IsType(OT_WAITING))
return true;
SigSegState seg_state;
if (v->force_proceed == TFP_NONE) {