Changeset - r21095:7a10a1f09207
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-12-25 11:37:10
frosch@openttd.org
(svn r26180) -Fix: Visual effects did not work for articulated RV parts.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -241,7 +241,7 @@ void RoadVehUpdateCache(RoadVehicle *v, 
 
		v->gcache.cached_total_length += u->gcache.cached_veh_length;
 

	
 
		/* Update visual effect */
 
		v->UpdateVisualEffect();
 
		u->UpdateVisualEffect();
 

	
 
		/* Update cargo aging period. */
 
		u->vcache.cached_cargo_age_period = GetVehicleProperty(u, PROP_ROADVEH_CARGO_AGE_PERIOD, EngInfo(u->engine_type)->cargo_age_period);
0 comments (0 inline, 0 general)