ambient_generic: Document and catch some unimplemented attributes.

This commit is contained in:
Marco Cawthorne 2020-11-24 12:47:39 +01:00
parent bc753f944e
commit 8ab685b7b2

View file

@ -164,6 +164,20 @@ ambient_generic::SpawnKey(string strKey, string strValue)
case "pitch":
m_flPitch = stof(strValue);
break;
/* TODO: currently unimplemented */
case "preset":
case "volstart":
case "fadein":
case "fadeout":
case "pitchstart":
case "spinup":
case "spindown":
case "lfotype":
case "lforate":
case "lfomodpitch":
case "lfomodvol":
case "cspinup":
break;
default:
CBaseTrigger::SpawnKey(strKey, strValue);
break;