prop_dynamic/static: support for 'sequence' key

This commit is contained in:
Marco Cawthorne 2023-02-11 22:38:23 -08:00
parent 370396a415
commit 9738a6a525
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,10 @@ void
prop_static::SpawnKey(string strKey, string strValue)
{
switch (strKey) {
case "frame":
case "sequence":
frame = stof(strValue);
break;
case "modelscale":
scale = stof(strValue);
break;

View File

@ -53,6 +53,10 @@ void
prop_dynamic::SpawnKey(string strKey, string strValue)
{
switch (strKey) {
case "frame":
case "sequence":
frame = stof(strValue);
break;
case "solid":
float s = stof(strValue);