mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Don't fog 3D crosshair sprite
This commit is contained in:
parent
5e575ae82e
commit
b152cf1423
2 changed files with 8 additions and 0 deletions
|
@ -1011,6 +1011,10 @@ int R_SpriteFogNum( trRefEntity_t *ent ) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ent->e.renderfx & RF_CROSSHAIR ) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
for ( i = 1 ; i < tr.world->numfogs ; i++ ) {
|
for ( i = 1 ; i < tr.world->numfogs ; i++ ) {
|
||||||
fog = &tr.world->fogs[i];
|
fog = &tr.world->fogs[i];
|
||||||
for ( j = 0 ; j < 3 ; j++ ) {
|
for ( j = 0 ; j < 3 ; j++ ) {
|
||||||
|
|
|
@ -1679,6 +1679,10 @@ int R_SpriteFogNum( trRefEntity_t *ent ) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ent->e.renderfx & RF_CROSSHAIR ) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
for ( i = 1 ; i < tr.world->numfogs ; i++ ) {
|
for ( i = 1 ; i < tr.world->numfogs ; i++ ) {
|
||||||
fog = &tr.world->fogs[i];
|
fog = &tr.world->fogs[i];
|
||||||
for ( j = 0 ; j < 3 ; j++ ) {
|
for ( j = 0 ; j < 3 ; j++ ) {
|
||||||
|
|
Loading…
Reference in a new issue