- fixing last commit, which didn't seem to work correctly

This commit is contained in:
Jonathan Russell 2018-01-04 23:09:48 +00:00
commit 254501d3e8
4 changed files with 157 additions and 0 deletions

View file

@ -502,6 +502,8 @@ xx(Roll)
xx(Scale)
xx(ScaleX)
xx(ScaleY)
xx(SpotInnerAngle)
xx(SpotOuterAngle)
xx(Floatbobphase)
xx(Floatbobstrength)
xx(Target)

View file

@ -799,6 +799,14 @@ public:
th->Scale.X = th->Scale.Y = CheckFloat(key);
break;
case NAME_SpotInnerAngle:
th->SpotInnerAngle = CheckFloat(key);
break;
case NAME_SpotOuterAngle:
th->SpotOuterAngle = CheckFloat(key);
break;
default:
CHECK_N(Zd | Zdt)
if (0 == strnicmp("user_", key.GetChars(), 5))