mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00: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,
|
0.1f,
|
||||||
m_fPrimaryFire ? 1.0f : 2.5f,
|
m_fPrimaryFire ? 1.0f : 2.5f,
|
||||||
0.0f,
|
0.0f,
|
||||||
m_fPrimaryFire ? 128.0f : flDamage,
|
(m_fPrimaryFire ? 128.0f : flDamage) / 255.0f,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
m_fPrimaryFire ? 255 : 255,
|
(m_fPrimaryFire ? 255 : 255) / 255.0f,
|
||||||
m_fPrimaryFire ? 128 : 255,
|
(m_fPrimaryFire ? 128 : 255) / 255.0f,
|
||||||
m_fPrimaryFire ? 0 : 255
|
(m_fPrimaryFire ? 0 : 255) / 255.0f
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -965,13 +965,13 @@ void EV_FireGauss( event_args_t *args )
|
|||||||
0.1f,
|
0.1f,
|
||||||
m_fPrimaryFire ? 1.0f : 2.5f,
|
m_fPrimaryFire ? 1.0f : 2.5f,
|
||||||
0.0f,
|
0.0f,
|
||||||
m_fPrimaryFire ? 128.0f : flDamage,
|
(m_fPrimaryFire ? 128.0f : flDamage) / 255.0f,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
m_fPrimaryFire ? 255 : 255,
|
(m_fPrimaryFire ? 255 : 255) / 255.0f,
|
||||||
m_fPrimaryFire ? 128 : 255,
|
(m_fPrimaryFire ? 128 : 255) / 255.0f,
|
||||||
m_fPrimaryFire ? 0 : 255
|
(m_fPrimaryFire ? 0 : 255) / 255.0f
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user