Set VRF_CONSIST_SPEED_REDUCTION flag in NormaliseTrainHead
This commit is contained in:
@@ -1355,6 +1355,7 @@ static void NormaliseTrainHead(Train *head)
|
|||||||
/* Tell the 'world' the train changed. */
|
/* Tell the 'world' the train changed. */
|
||||||
head->ConsistChanged(CCF_ARRANGE);
|
head->ConsistChanged(CCF_ARRANGE);
|
||||||
UpdateTrainGroupID(head);
|
UpdateTrainGroupID(head);
|
||||||
|
SetBit(head->flags, VRF_CONSIST_SPEED_REDUCTION);
|
||||||
|
|
||||||
/* Not a front engine, i.e. a free wagon chain. No need to do more. */
|
/* Not a front engine, i.e. a free wagon chain. No need to do more. */
|
||||||
if (!head->IsFrontEngine()) return;
|
if (!head->IsFrontEngine()) return;
|
||||||
|
Reference in New Issue
Block a user