mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-09-29 04:27:30 +08:00
Fix MLO Instance Data
Fixing MLO Instance Data - groupId, floorId, defaultEntitySets*, numExitPortals, MLOInstflags.
This commit is contained in:
parent
c45ea83733
commit
03fe2c6992
@ -1813,8 +1813,8 @@ namespace CodeWalker.GameFiles
|
|||||||
{
|
{
|
||||||
//transform interior entities into world space...
|
//transform interior entities into world space...
|
||||||
var mloa = Archetype as MloArchetype;
|
var mloa = Archetype as MloArchetype;
|
||||||
MloInstance = new MloInstanceData(this, mloa);
|
var mloi = MloInstance;
|
||||||
MloInstance._Instance = new CMloInstanceDef { CEntityDef = _CEntityDef };
|
MloInstance = new MloInstanceData(this, mloa) { Instance = mloi.Instance, defaultEntitySets = mloi.defaultEntitySets };
|
||||||
if (mloa != null)
|
if (mloa != null)
|
||||||
{
|
{
|
||||||
if (!IsMlo)
|
if (!IsMlo)
|
||||||
|
Loading…
Reference in New Issue
Block a user