mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 12:24:15 +00:00
(svn r4721) - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list)
This commit is contained in:
parent
debfc88862
commit
79f0628139
@ -643,7 +643,7 @@ static const SpriteGroup *VehicleResolveReal(const ResolverObject *object, const
|
|||||||
uint set;
|
uint set;
|
||||||
bool in_motion;
|
bool in_motion;
|
||||||
|
|
||||||
if (v == NULL) return group->g.real.loaded[0];
|
if (v == NULL) return group->g.real.loading[0];
|
||||||
|
|
||||||
if (v->type == VEH_Train) {
|
if (v->type == VEH_Train) {
|
||||||
in_motion = GetFirstVehicleInChain(v)->current_order.type != OT_LOADING;
|
in_motion = GetFirstVehicleInChain(v)->current_order.type != OT_LOADING;
|
||||||
|
Loading…
Reference in New Issue
Block a user