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