(svn r4721) - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list)
This commit is contained in:
		@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user