- made the static portal state a struct inside the Renderer object
This commit is contained in:
parent
009acf3fb2
commit
282fdac660
16 changed files with 420 additions and 430 deletions
|
|
@ -173,7 +173,7 @@ void gl_SetFog(int lightlevel, int rellight, bool fullbright, const FColormap *c
|
|||
}
|
||||
|
||||
// Make fog a little denser when inside a skybox
|
||||
if (GLPortal::inskybox) fogdensity+=fogdensity/2;
|
||||
if (GLRenderer->mPortalState.inskybox) fogdensity+=fogdensity/2;
|
||||
|
||||
|
||||
// no fog in enhanced vision modes!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue