NSRenderableEntity: Fix "body" key not being read in SpawnKey()

This commit is contained in:
Marco Cawthorne 2021-11-10 09:50:59 +01:00
parent 568716ca78
commit 7d717779b3
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -671,6 +671,9 @@ void
NSRenderableEntity::SpawnKey(string strKey, string strValue)
{
switch (strKey) {
case "body":
m_iBody = stoi(strValue);
break;
case "modelscale":
case "scale":
scale = stof(strValue);