]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Kill get_vehicleinfo
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 80b1770c3a689902d91961cd09c35b75e3cc76e8..0995bc2f7ab8727d33a8537afe9ebc99646596fd 100644 (file)
@@ -779,7 +779,7 @@ void HUD_Crosshair_Vehicle()
 {
        if(hud != HUD_BUMBLEBEE_GUN)
        {
-               Vehicle info = get_vehicleinfo(hud);
+               Vehicle info = Vehicles_from(hud);
                info.vr_crosshair(info);
        }
 }
@@ -1466,7 +1466,7 @@ void CSQC_UpdateView(float w, float h)
                {
                        if(hud != HUD_BUMBLEBEE_GUN)
                        {
-                               Vehicle info = get_vehicleinfo(hud);
+                               Vehicle info = Vehicles_from(hud);
                                vehicle_viewdist = info.height;
                                vehicle_viewofs = info.view_ofs;
                        }