We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0d8b2 commit 71b4ccfCopy full SHA for 71b4ccf
2 files changed
src/game/server/basecombatcharacter.cpp
@@ -3471,7 +3471,7 @@ float CBaseCombatCharacter::GetFogObscuredRatio( float range ) const
3471
3472
if ( controller )
3473
{
3474
- const fogparams_t fog = controller->m_fog;
+ const fogparams_t &fog = controller->m_fog;
3475
3476
if ( !fog.enable )
3477
return 0.0f;
src/game/server/neo/neo_player.cpp
@@ -1363,7 +1363,7 @@ float CNEO_Player::GetFogObscuredRatio( float range ) const
1363
1364
1365
1366
1367
1368
1369
0 commit comments