diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index 6c502b977..bda726d92 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -840,6 +840,9 @@ static const SpriteGroup *GetVehicleSpriteGroup(EngineID engine, const Vehicle * * as v->cargo_type is temporary changed to the new type */ group = use_cache ? v->u.rail.cached_override : GetWagonOverrideSpriteSet(v->engine_type, v->cargo_type, v->u.rail.first_engine); if (group != NULL) return group; + } else if (v->type == VEH_ROAD) { + group = GetWagonOverrideSpriteSet(v->engine_type, v->cargo_type, v->u.road.first_engine); + if (group != NULL) return group; } } |