diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-03 20:51:42 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-03 20:51:42 +0000 |
commit | 79f062813979cdf32f83244afed5a4e051179471 (patch) | |
tree | 8a97843e7d7a317842fc1a717114a46e4036de7b | |
parent | debfc88862d4476872c77fb512de2aeb1c757ca2 (diff) | |
download | openttd-79f062813979cdf32f83244afed5a4e051179471.tar.xz |
(svn r4721) - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list)
-rw-r--r-- | newgrf_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c index 326b251d4..ac3c0415e 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; |