(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:
smatz 2011-02-02 22:40:04 +00:00
parent 3bfad0243b
commit a4bf3be864

View File

@ -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);
}