mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-17 01:11:20 +00:00
fixed expression to clarify intent
This commit is contained in:
parent
6fdf62d710
commit
e5e6ce1d08
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ static int R_ComputeLOD( const trRefEntity_t* ent )
|
|||
void R_AddMD3Surfaces( trRefEntity_t* ent )
|
||||
{
|
||||
// don't add third_person objects if not in a portal
|
||||
qbool personalModel = (ent->e.renderfx & RF_THIRD_PERSON) && !tr.viewParms.isPortal;
|
||||
qbool personalModel = (ent->e.renderfx & RF_THIRD_PERSON) != 0 && !tr.viewParms.isPortal;
|
||||
|
||||
if ( ent->e.renderfx & RF_WRAP_FRAMES ) {
|
||||
ent->e.frame %= tr.currentModel->md3[0]->numFrames;
|
||||
|
|
Loading…
Reference in a new issue