diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index b94bbbb9b..44717dda6 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -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); } |