This commit is contained in:
Andrey Akhmichin 2021-06-05 20:13:07 +05:00
parent 8c45ae9bb2
commit 2c7e07ef49

View File

@ -1373,7 +1373,7 @@ void EV_FireRpg( event_args_t *args )
//====================== //======================
//====================== //======================
// EGON END // EGON START
//====================== //======================
enum egon_e enum egon_e
{ {
@ -1502,10 +1502,11 @@ void EV_EgonFire( event_args_t *args )
float g = 50.0f; float g = 50.0f;
float b = 125.0f; float b = 125.0f;
if( IEngineStudio.IsHardware() ) // if( IEngineStudio.IsHardware() )
{ {
r /= 100.0f; r /= 255.0f;
g /= 100.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 ); pBeam = gEngfuncs.pEfxAPI->R_BeamEntPoint( idx | 0x1000, tr.endpos, iBeamModelIndex, 99999, 3.5, 0.2, 0.7, 55, 0, 0, r, g, b );