env_glow: support normalized 'color' key.
This commit is contained in:
parent
61469e5785
commit
d41026aed7
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,9 @@ void env_glow::SpawnKey(string strField, string strKey)
|
|||
case "scale":
|
||||
m_flScale = stof(strKey);
|
||||
break;
|
||||
case "color":
|
||||
m_vecColor = stov(strKey);
|
||||
break;
|
||||
case "rendercolor":
|
||||
case "rendercolour":
|
||||
m_vecColor = stov(strKey) / 255;
|
||||
|
|
Loading…
Reference in a new issue