Skip to content

Commit

Permalink
Fix a bug that fog was not working due to typo in Renderer.dll!R_CanR…
Browse files Browse the repository at this point in the history
…enderFog issue: #424
  • Loading branch information
hzqst committed Mar 18, 2024
1 parent 679ee7e commit 67940cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/Renderer/gl_rmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ cvar_t *r_additive_shift = NULL;

bool R_CanRenderFog()
{
if (!(*r_refdef.onlyClientDraws))
if ((*r_refdef.onlyClientDraws))
return false;

if (CL_IsDevOverviewMode())
Expand Down

0 comments on commit 67940cc

Please sign in to comment.