Fix ddd609c: Reverse build probability callback was not called for articulated parts. (#11526)

wip-string
Peter Nelson 6 months ago committed by GitHub
parent 4a5ab331e2
commit cc488ec6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -431,6 +431,7 @@ void AddArticulatedParts(Vehicle *first)
if (flip_image) v->spritenum++;
if (v->type == VEH_TRAIN && TestVehicleBuildProbability(v, v->engine_type, BuildProbabilityType::Reversed)) SetBit(Train::From(v)->flags, VRF_REVERSE_DIRECTION);
v->UpdatePosition();
}
}

Loading…
Cancel
Save