mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-23 07:22:52 +08:00
Bug fix for loading some modded drawables
This commit is contained in:
parent
a510b9b37a
commit
e77c2b95ec
@ -4329,7 +4329,7 @@ namespace CodeWalker.GameFiles
|
|||||||
this.ShaderGroup = reader.ReadBlockAt<ShaderGroup>(this.ShaderGroupPointer);
|
this.ShaderGroup = reader.ReadBlockAt<ShaderGroup>(this.ShaderGroupPointer);
|
||||||
this.Skeleton = reader.ReadBlockAt<Skeleton>(this.SkeletonPointer);
|
this.Skeleton = reader.ReadBlockAt<Skeleton>(this.SkeletonPointer);
|
||||||
this.Joints = reader.ReadBlockAt<Joints>(this.JointsPointer);
|
this.Joints = reader.ReadBlockAt<Joints>(this.JointsPointer);
|
||||||
this.DrawableModels = reader.ReadBlockAt<DrawableModelsBlock>(this.DrawableModelsPointer, this);
|
this.DrawableModels = reader.ReadBlockAt<DrawableModelsBlock>((DrawableModelsPointer == 0) ? DrawableModelsHighPointer : DrawableModelsPointer, this);
|
||||||
|
|
||||||
|
|
||||||
BuildAllModels();
|
BuildAllModels();
|
||||||
|
Loading…
Reference in New Issue
Block a user