Set VRF_CONSIST_SPEED_REDUCTION flag in NormaliseTrainHead

This commit is contained in:
Jonathan G Rennison
2019-09-16 00:58:04 +01:00
parent f9a8c3da46
commit e4b9eeee71

View File

@@ -1355,6 +1355,7 @@ static void NormaliseTrainHead(Train *head)
/* Tell the 'world' the train changed. */
head->ConsistChanged(CCF_ARRANGE);
UpdateTrainGroupID(head);
SetBit(head->flags, VRF_CONSIST_SPEED_REDUCTION);
/* Not a front engine, i.e. a free wagon chain. No need to do more. */
if (!head->IsFrontEngine()) return;