Skip to content

Commit 71b4ccf

Browse files
committed
&
1 parent 6a0d8b2 commit 71b4ccf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/game/server/basecombatcharacter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3471,7 +3471,7 @@ float CBaseCombatCharacter::GetFogObscuredRatio( float range ) const
34713471

34723472
if ( controller )
34733473
{
3474-
const fogparams_t fog = controller->m_fog;
3474+
const fogparams_t &fog = controller->m_fog;
34753475

34763476
if ( !fog.enable )
34773477
return 0.0f;

src/game/server/neo/neo_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ float CNEO_Player::GetFogObscuredRatio( float range ) const
13631363

13641364
if ( controller )
13651365
{
1366-
const fogparams_t fog = controller->m_fog;
1366+
const fogparams_t &fog = controller->m_fog;
13671367

13681368
if ( !fog.enable )
13691369
return 0.0f;

0 commit comments

Comments
 (0)