Skip to content

Commit

Permalink
FIx gauss gun beams having wrong color and brightness compared to WON
Browse files Browse the repository at this point in the history
halflife issue #2865
  • Loading branch information
Solokiller committed Jan 31, 2021
1 parent beb9f35 commit c7f0146
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cl_dll/ev_hldm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -932,13 +932,13 @@ void EV_FireGauss( event_args_t *args )
0.1,
m_fPrimaryFire ? 1.0 : 2.5,
0.0,
m_fPrimaryFire ? 128.0 : flDamage,
(m_fPrimaryFire ? 128.0 : flDamage) / 255.0,
0,
0,
0,
m_fPrimaryFire ? 255 : 255,
m_fPrimaryFire ? 128 : 255,
m_fPrimaryFire ? 0 : 255
(m_fPrimaryFire ? 255 : 255) / 255.0,
(m_fPrimaryFire ? 128 : 255) / 255.0,
(m_fPrimaryFire ? 0 : 255) / 255.0
);
}
else
Expand All @@ -949,13 +949,13 @@ void EV_FireGauss( event_args_t *args )
0.1,
m_fPrimaryFire ? 1.0 : 2.5,
0.0,
m_fPrimaryFire ? 128.0 : flDamage,
(m_fPrimaryFire ? 128.0 : flDamage) / 255.0,
0,
0,
0,
m_fPrimaryFire ? 255 : 255,
m_fPrimaryFire ? 128 : 255,
m_fPrimaryFire ? 0 : 255
(m_fPrimaryFire ? 255 : 255) / 255.0,
(m_fPrimaryFire ? 128 : 255) / 255.0,
(m_fPrimaryFire ? 0 : 255) / 255.0
);
}

Expand Down

0 comments on commit c7f0146

Please sign in to comment.