[HL25] Backport geiger counter changes
This commit is contained in:
parent
952831ccd3
commit
87ad6dedd1
1 changed files with 6 additions and 2 deletions
|
@ -68,10 +68,14 @@ bool CHudGeiger::Draw(float flTime)
|
|||
int rg[3];
|
||||
int i;
|
||||
|
||||
if (m_iGeigerRange <= 800 && m_iGeigerRange > 0)
|
||||
if (m_iGeigerRange < 1000 && m_iGeigerRange > 0)
|
||||
{
|
||||
// peicewise linear is better than continuous formula for this
|
||||
if (m_iGeigerRange > 600)
|
||||
if (m_iGeigerRange > 800)
|
||||
{
|
||||
pct = 0; // Con_Printf ( "range > 800\n");
|
||||
}
|
||||
else if (m_iGeigerRange > 600)
|
||||
{
|
||||
pct = 2;
|
||||
flvol = 0.4; //Con_Printf ( "range > 600\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue