NSRenderableEntity: Fix "body" key not being read in SpawnKey()
This commit is contained in:
parent
568716ca78
commit
7d717779b3
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue