]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - view.c
removed cruft
[xonotic/darkplaces.git] / view.c
diff --git a/view.c b/view.c
index 3645467cada6a8c572d6dc7e3622acd2d1cde6d3..5b37040fa4e658741e37c83bb2f48b15e523c665 100644 (file)
--- a/view.c
+++ b/view.c
@@ -800,21 +800,6 @@ void V_CalcRefdef (void)
 // fudge position around to keep amount of weapon visible
 // roughly equal with different FOV
 
-#if 0
-       if (cl.model_precache[cl.stats[STAT_WEAPON]] && strcmp (cl.model_precache[cl.stats[STAT_WEAPON]]->name,  "progs/v_shot2.mdl"))
-#endif
-// LordHavoc: everyone hates the gun moving around
-/*
-       if (scr_viewsize.value == 110)
-               view->origin[2] += 1;
-       else if (scr_viewsize.value == 100)
-               view->origin[2] += 2;
-       else if (scr_viewsize.value == 90)
-               view->origin[2] += 1;
-       else if (scr_viewsize.value == 80)
-               view->origin[2] += 0.5;
-*/
-
        view->model = cl.model_precache[cl.stats[STAT_WEAPON]];
        view->frame = cl.stats[STAT_WEAPONFRAME];
        view->colormap = -1; // no special coloring