summaryrefslogtreecommitdiff
path: root/src/renderer/tr_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/tr_main.c')
-rw-r--r--src/renderer/tr_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/tr_main.c b/src/renderer/tr_main.c
index 060fafb6..08b739bd 100644
--- a/src/renderer/tr_main.c
+++ b/src/renderer/tr_main.c
@@ -680,7 +680,7 @@ qboolean R_GetPortalOrientations( drawSurf_t *drawSurf, int entityNum,
R_PlaneForSurface( drawSurf->surface, &originalPlane );
// rotate the plane if necessary
- if ( entityNum != ENTITYNUM_WORLD ) {
+ if ( entityNum != REFENTITYNUM_WORLD ) {
tr.currentEntityNum = entityNum;
tr.currentEntity = &tr.refdef.entities[entityNum];
@@ -797,7 +797,7 @@ static qboolean IsMirror( const drawSurf_t *drawSurf, int entityNum )
R_PlaneForSurface( drawSurf->surface, &originalPlane );
// rotate the plane if necessary
- if ( entityNum != ENTITYNUM_WORLD )
+ if ( entityNum != REFENTITYNUM_WORLD )
{
tr.currentEntityNum = entityNum;
tr.currentEntity = &tr.refdef.entities[entityNum];