summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newgrf_engine.c2
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;