Replaced CMapData and CEntityDef property gets with field gets for performance

This commit is contained in:
dexy
2019-01-09 18:09:12 +11:00
Unverified
parent dd3b8bdab4
commit 6c244c6406
5 changed files with 51 additions and 52 deletions
+2 -2
View File
@@ -338,7 +338,7 @@ namespace CodeWalker
}
else if (EntityDef != null)
{
name = EntityDef.CEntityDef.archetypeName.ToString();
name = EntityDef._CEntityDef.archetypeName.ToString();
}
else if (Archetype != null)
{
@@ -424,7 +424,7 @@ namespace CodeWalker
}
else if (EntityDef != null)
{
name = EntityDef.CEntityDef.archetypeName.ToString();
name = EntityDef._CEntityDef.archetypeName.ToString();
}
else if (Archetype != null)
{