Fix train bounding box/delta not being updated when entering bridge from 45° angle
This commit is contained in:
		@@ -3389,6 +3389,7 @@ bool TrainController(Train *v, Vehicle *nomove, bool reverse)
 | 
			
		||||
				v->x_pos = gp.x;
 | 
			
		||||
				v->y_pos = gp.y;
 | 
			
		||||
				v->UpdatePosition();
 | 
			
		||||
				v->UpdateDeltaXY(v->direction);
 | 
			
		||||
				if ((v->vehstatus & VS_HIDDEN) == 0) v->Vehicle::UpdateViewport(true);
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user