mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Fix egon beam color. Same as https://github.com/ValveSoftware/halflife/issues/3033.
This commit is contained in:
parent
8c45ae9bb2
commit
2c7e07ef49
@ -1373,7 +1373,7 @@ void EV_FireRpg( event_args_t *args )
|
||||
//======================
|
||||
|
||||
//======================
|
||||
// EGON END
|
||||
// EGON START
|
||||
//======================
|
||||
enum egon_e
|
||||
{
|
||||
@ -1502,10 +1502,11 @@ void EV_EgonFire( event_args_t *args )
|
||||
float g = 50.0f;
|
||||
float b = 125.0f;
|
||||
|
||||
if( IEngineStudio.IsHardware() )
|
||||
// if( IEngineStudio.IsHardware() )
|
||||
{
|
||||
r /= 100.0f;
|
||||
g /= 100.0f;
|
||||
r /= 255.0f;
|
||||
g /= 255.0f;
|
||||
b /= 255.0f;
|
||||
}
|
||||
|
||||
pBeam = gEngfuncs.pEfxAPI->R_BeamEntPoint( idx | 0x1000, tr.endpos, iBeamModelIndex, 99999, 3.5, 0.2, 0.7, 55, 0, 0, r, g, b );
|
||||
|
Loading…
x
Reference in New Issue
Block a user