X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2FView.qc;h=5e162cb7c96fe4c4267592ff482f4726e85f8344;hp=ecc3fa126f05d62f1ea4df0a85f1bb1f610b62be;hb=d6e1aa437e7eb8e182053cf17231597e79df0f81;hpb=dccfc3eef40ca210167d43bb30fae6bb116e12f0 diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index ecc3fa126f..5e162cb7c9 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -493,7 +493,8 @@ void CSQC_UpdateView(float w, float h) // event chase camera if(autocvar_chase_active <= 0) // greater than 0 means it's enabled manually, and this code is skipped { - if(((spectatee_status >= 0 && (autocvar_cl_eventchase_death && is_dead)) || intermission) && !autocvar_cl_orthoview) + WepSet weapons_stat = WepSet_GetFromStat(); + if(((spectatee_status >= 0 && (autocvar_cl_eventchase_death && is_dead)) || intermission) && !autocvar_cl_orthoview || (autocvar_cl_eventchase_nexball && gametype == MAPINFO_TYPE_NEXBALL && !(weapons_stat & WepSet_FromWeapon(WEP_PORTO)))) { // make special vector since we can't use view_origin (It is one frame old as of this code, it gets set later with the results this code makes.) vector current_view_origin = (csqcplayer ? csqcplayer.origin : pmove_org);