X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=view.c;h=16dbcf740a2f1dc70726b1e47e671589fc8e8edd;hb=90915f3bbfd93853316f95ba3c74ed0d2d4c07ad;hp=851c57d14d34ef791224b837587511eb403cb2cb;hpb=82ea0b5ed7932afb976c2ae4a066c48c0be4e599;p=xonotic%2Fdarkplaces.git diff --git a/view.c b/view.c index 851c57d1..16dbcf74 100644 --- a/view.c +++ b/view.c @@ -881,7 +881,7 @@ void V_CalcRefdef (void) ent = &cl.entities[cl.viewentity]; cldead = (cl.stats[STAT_HEALTH] <= 0 && cl.stats[STAT_HEALTH] != -666 && cl.stats[STAT_HEALTH] != -2342); - V_CalcRefdefUsing(&ent->render.matrix, cl.viewangles, !ent->persistent.trail_allowed, cl.onground, cl.cmd.jump, cl.stats[STAT_VIEWHEIGHT], cldead, cl.intermission, cl.velocity); // FIXME use a better way to detect teleport/warp than trail_allowed + V_CalcRefdefUsing(&ent->render.matrix, cl.viewangles, !ent->persistent.trail_allowed, cl.onground, cl.cmd.jump, cl.stats[STAT_VIEWHEIGHT], cldead, cl.intermission != 0, cl.velocity); // FIXME use a better way to detect teleport/warp than trail_allowed } else {