X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=clvm_cmds.c;h=8432a0a01763bb40e78bbd1d82ee1d98f9950d4a;hb=449fda0cc6e958d0569ad1f4cc287ab537fcf3a4;hp=c8c8123ba902adcb8745e195fce5b95242a87d1f;hpb=f13419f00e3f8335e9a25498560a433597f28f50;p=xonotic%2Fdarkplaces.git diff --git a/clvm_cmds.c b/clvm_cmds.c index c8c8123b..8432a0a0 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -4124,7 +4124,6 @@ static void VM_CL_V_CalcRefdef(prvm_prog_t *prog) qbool clonground; qbool clcmdjump; qbool cldead; - qbool clintermission; float clstatsviewheight; prvm_edict_t *ent; int flags; @@ -4142,10 +4141,10 @@ static void VM_CL_V_CalcRefdef(prvm_prog_t *prog) clcmdjump = (flags & REFDEFFLAG_JUMPING) != 0; clstatsviewheight = PRVM_clientedictvector(ent, view_ofs)[2]; cldead = (flags & REFDEFFLAG_DEAD) != 0; - clintermission = (flags & REFDEFFLAG_INTERMISSION) != 0; + cl.intermission = (flags & REFDEFFLAG_INTERMISSION) != 0; VectorCopy(PRVM_clientedictvector(ent, velocity), clvelocity); - V_CalcRefdefUsing(&entrendermatrix, clviewangles, teleported, clonground, clcmdjump, clstatsviewheight, cldead, clintermission, clvelocity); + V_CalcRefdefUsing(&entrendermatrix, clviewangles, teleported, clonground, clcmdjump, clstatsviewheight, cldead, clvelocity); VectorCopy(cl.csqc_vieworiginfromengine, cl.csqc_vieworigin); VectorCopy(cl.csqc_viewanglesfromengine, cl.csqc_viewangles);