]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Replace some makevectors calls with the MAKEVECTORS macro
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 8fba190c64bfb32db161be60402cbbda6e8db29b..ffab46236384284aa70f7b3e7538664401155bec 100644 (file)
@@ -1946,10 +1946,7 @@ void CSQC_UpdateView(entity this, float w, float h)
        // Render the Scene
        view_origin = getpropertyvec(VF_ORIGIN);
        view_angles = getpropertyvec(VF_ANGLES);
-       makevectors(view_angles);
-       view_forward = v_forward;
-       view_right = v_right;
-       view_up = v_up;
+       MAKEVECTORS(makevectors, view_angles, view_forward, view_right, view_up);
 
 #ifdef BLURTEST
        if(time > blurtest_time0 && time < blurtest_time1)