mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r16390) -Codechange: move u.road to RoadVehicle.
This commit is contained in:
@@ -822,7 +822,7 @@ static void FloodVehicle(Vehicle *v)
|
||||
|
||||
case VEH_ROAD:
|
||||
if (IsRoadVehFront(v)) pass += 1; // driver
|
||||
v->u.road.crashed_ctr = 2000; // max 2220, disappear pretty fast
|
||||
((RoadVehicle *)v)->crashed_ctr = 2000; // max 2220, disappear pretty fast
|
||||
InvalidateWindowClassesData(WC_ROADVEH_LIST, 0);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user