mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
don't render the map's fog when RDF_NOWORLDMODEL is set
This commit is contained in:
parent
0eed6f7e7e
commit
6396ca0ef3
1 changed files with 2 additions and 1 deletions
|
@ -1284,7 +1284,8 @@ void World::DrawFog()
|
|||
// fog 0 is invalid
|
||||
if(!drawFog ||
|
||||
tr.world == NULL ||
|
||||
tr.world->numfogs <= 1)
|
||||
tr.world->numfogs <= 1 ||
|
||||
(backEnd.refdef.rdflags & RDF_NOWORLDMODEL) != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue