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/renderergl1 | |
parent | 00a83e798f7934962facba8e7864b215e1d94701 (diff) |
Don't fog 3D crosshair sprite
Diffstat (limited to 'src/renderergl1')
-rw-r--r-- | src/renderergl1/tr_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/renderergl1/tr_main.c b/src/renderergl1/tr_main.c index 500bb788..b216d38f 100644 --- a/src/renderergl1/tr_main.c +++ b/src/renderergl1/tr_main.c @@ -1012,6 +1012,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++ ) { |