]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - view.c
now uses getsockname to find out what address/port a newly opened socket is at, so...
[xonotic/darkplaces.git] / view.c
diff --git a/view.c b/view.c
index 570e460901bc1bc6643f1f6bb046b426991b3e69..bb713d8bd3c31412b5d2b5c6d0526680d967e221 100644 (file)
--- a/view.c
+++ b/view.c
@@ -204,7 +204,7 @@ V_ParseDamage
 */
 void V_ParseDamage (void)
 {
-       int i, armor, blood;
+       int armor, blood;
        vec3_t from;
        //vec3_t forward, right;
        vec3_t localfrom;
@@ -378,7 +378,7 @@ void V_CalcRefdef (void)
                        {
                                // first person view from entity
                                // angles
-                               if (cl.stats[STAT_HEALTH] <= 0)
+                               if (cl.stats[STAT_HEALTH] <= 0 && gamemode != GAME_FNIGGIUM)
                                        viewangles[ROLL] = 80;  // dead view angle
                                VectorAdd(viewangles, cl.punchangle, viewangles);
                                viewangles[ROLL] += V_CalcRoll(cl.viewangles, cl.velocity);