mirror of https://github.com/OpenTTD/OpenTTD
(svn r21948) -Fix: road vehicle was moved under the bridge when it was destroyed by an UFO while on a bridge
parent
3bfad0243b
commit
a4bf3be864
|
@ -437,7 +437,7 @@ static void RoadVehSetRandomDirection(RoadVehicle *v)
|
|||
uint32 r = Random();
|
||||
|
||||
v->direction = ChangeDir(v->direction, delta[r & 3]);
|
||||
v->UpdateInclination(false, true);
|
||||
v->UpdateViewport(true, true);
|
||||
} while ((v = v->Next()) != NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue