env_glow: support normalized 'color' key.

This commit is contained in:
Marco Cawthorne 2020-03-03 22:47:16 +01:00
parent 61469e5785
commit d41026aed7

View file

@ -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;