mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
Gauss color depends on its charge
This commit is contained in:
parent
9fc712da01
commit
0a29ec49c8
@ -948,13 +948,13 @@ void EV_FireGauss( event_args_t *args )
|
||||
0.1f,
|
||||
m_fPrimaryFire ? 1.0f : 2.5f,
|
||||
0.0f,
|
||||
m_fPrimaryFire ? 128.0f : flDamage,
|
||||
(m_fPrimaryFire ? 128.0f : flDamage) / 255.0f,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
m_fPrimaryFire ? 255 : 255,
|
||||
m_fPrimaryFire ? 128 : 255,
|
||||
m_fPrimaryFire ? 0 : 255
|
||||
(m_fPrimaryFire ? 255 : 255) / 255.0f,
|
||||
(m_fPrimaryFire ? 128 : 255) / 255.0f,
|
||||
(m_fPrimaryFire ? 0 : 255) / 255.0f
|
||||
);
|
||||
}
|
||||
else
|
||||
@ -965,13 +965,13 @@ void EV_FireGauss( event_args_t *args )
|
||||
0.1f,
|
||||
m_fPrimaryFire ? 1.0f : 2.5f,
|
||||
0.0f,
|
||||
m_fPrimaryFire ? 128.0f : flDamage,
|
||||
(m_fPrimaryFire ? 128.0f : flDamage) / 255.0f,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
m_fPrimaryFire ? 255 : 255,
|
||||
m_fPrimaryFire ? 128 : 255,
|
||||
m_fPrimaryFire ? 0 : 255
|
||||
(m_fPrimaryFire ? 255 : 255) / 255.0f,
|
||||
(m_fPrimaryFire ? 128 : 255) / 255.0f,
|
||||
(m_fPrimaryFire ? 0 : 255) / 255.0f
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user