diff options
author | Zack Middleton <zturtleman@gmail.com> | 2015-07-04 19:33:28 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:02:29 +0100 |
commit | a1cb4046bef1a81e8d19a1b2556c285da5cf3229 (patch) | |
tree | 4b94f2cf1d0ab3ee41770f46d138ff74fdf9fa60 /src/renderergl2/tr_main.c | |
parent | 00a83e798f7934962facba8e7864b215e1d94701 (diff) |
Don't fog 3D crosshair sprite
Diffstat (limited to 'src/renderergl2/tr_main.c')
-rw-r--r-- | src/renderergl2/tr_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/renderergl2/tr_main.c b/src/renderergl2/tr_main.c index 132ef309..287f95d3 100644 --- a/src/renderergl2/tr_main.c +++ b/src/renderergl2/tr_main.c @@ -1680,6 +1680,10 @@ int R_SpriteFogNum( trRefEntity_t *ent ) { return 0; } + if ( ent->e.renderfx & RF_CROSSHAIR ) { + return 0; + } + for ( i = 1 ; i < tr.world->numfogs ; i++ ) { fog = &tr.world->fogs[i]; for ( j = 0 ; j < 3 ; j++ ) { |