Fix a logic error with my rendering check. Sleep required.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5795 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Eukara 2020-12-25 03:20:48 +00:00
parent a322a175de
commit f152acaa12
2 changed files with 2 additions and 2 deletions

View file

@ -811,7 +811,7 @@ typedef enum
#define CSQCRF_USEAXIS 16 //use v_forward/v_right/v_up as an axis/matrix - predraw is needed to use this properly
#define CSQCRF_NOSHADOW 32 //don't cast shadows upon other entities (can still be self shadowing, if the engine wishes, and not additive)
#define CSQCRF_FRAMETIMESARESTARTTIMES 64 //EXT_CSQC_1: frame times should be read as (time-frametime).
#define CSQCRF_FIRSTPERSON 1024 //drawn ONLY in mirrors
#define CSQCRF_FIRSTPERSON 1024 //also not drawn in mirrors, just without the VIEWMODEL hacks attached
//#define CSQCRFDP_USETRANSPARENTOFFSET 64 // Allows QC to customize origin used for transparent sorting via transparent_origin global, helps to fix transparent sorting bugs on a very large entities
////#define CSQCRF_NOAUTOADD 128 // removed in favour of predraw return values.
//#define CSQCRFDP_WORLDOBJECT 128 // for large outdoor entities that should not be culled.

View file

@ -2855,7 +2855,7 @@ void BE_GenModelBatches(batch_t **batches, const dlight_t *dl, unsigned int bemo
{
ent = &cl_visedicts[i];
if ((r_refdef.externalview && (ent->flags & RF_FIRSTPERSON)) || chase_active.ival)
if ((r_refdef.externalview || chase_active.ival) && (ent->flags & RF_FIRSTPERSON))
continue;
if (!r_refdef.externalview && (ent->flags & RF_EXTERNALMODEL) && !chase_active.ival)
continue;