mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 21:53:49 +08:00
Created MloArchetype and TimeArchetype subclasses, Meta pointer improvement
This commit is contained in:
@@ -997,15 +997,15 @@ namespace CodeWalker.GameFiles
|
||||
////not ideal: should transform all 8 corners!
|
||||
}
|
||||
|
||||
if (Archetype.IsMloArchetype)
|
||||
if (Archetype.Type == MetaName.CMloArchetypeDef)
|
||||
{
|
||||
//transform interior entities into world space...
|
||||
var mlod = Archetype.MloData;
|
||||
var mloa = Archetype as MloArchetype;
|
||||
if (MloInstance == null)
|
||||
{
|
||||
MloInstance = new MloInstanceData();
|
||||
}
|
||||
MloInstance.CreateYmapEntities(this, mlod);
|
||||
MloInstance.CreateYmapEntities(this, mloa);
|
||||
|
||||
if (BSRadius == 0.0f)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user