(svn r4721) - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list)

This commit is contained in:
peter1138 2006-05-03 20:51:42 +00:00
parent debfc88862
commit 79f0628139
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ static const SpriteGroup *VehicleResolveReal(const ResolverObject *object, const
uint set;
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) {
in_motion = GetFirstVehicleInChain(v)->current_order.type != OT_LOADING;