From 79f062813979cdf32f83244afed5a4e051179471 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 3 May 2006 20:51:42 +0000 Subject: [PATCH] (svn r4721) - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list) --- newgrf_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newgrf_engine.c b/newgrf_engine.c index 326b251d4a..ac3c0415e7 100644 --- a/newgrf_engine.c +++ b/newgrf_engine.c @@ -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;