]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove an useless variable
authorRudolf Polzer <divverent@xonotic.org>
Fri, 1 Jul 2011 17:35:25 +0000 (19:35 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 1 Jul 2011 17:35:25 +0000 (19:35 +0200)
qcsrc/client/View.qc

index 1dfa1b359b9d65cfa4d63f5ee90c187644d0826b..69f7f4676d3ecffda8f76f3c964570888b7e02f7 100644 (file)
@@ -371,7 +371,7 @@ void CSQC_UpdateView(float w, float h)
        entity e;
        float fov;
        float f, i, j;
-       vector v, vo;
+       vector v;
        vector vf_size, vf_min;
        float a;
        hud = getstati(STAT_HUD);
@@ -403,7 +403,6 @@ void CSQC_UpdateView(float w, float h)
                myteam = GetPlayerColor(player_localentnum - 1);
 
        ticrate = getstatf(STAT_MOVEVARS_TICRATE) * getstatf(STAT_MOVEVARS_TIMESCALE);
-       vo = '0 0 1' * getstati(STAT_VIEWHEIGHT);
 
        if(autocvar_cl_lockview || (autocvar__hud_configure && spectatee_status <= 0) || intermission > 1)
        {