diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-10 14:24:09 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-10 14:24:09 +0200 |
commit | 512f5657f7f33e2939d4455df4f8e97d57d39e54 (patch) | |
tree | b46a8f7b61215ee8e0fba90b46d93e3b768f2e16 /src/core/FileLoader.cpp | |
parent | script changes (diff) | |
parent | added some anim groups (diff) | |
download | re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.gz re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.bz2 re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.lz re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.xz re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.tar.zst re3-512f5657f7f33e2939d4455df4f8e97d57d39e54.zip |
Diffstat (limited to 'src/core/FileLoader.cpp')
-rw-r--r-- | src/core/FileLoader.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp index 5e66284a..7d1ba67f 100644 --- a/src/core/FileLoader.cpp +++ b/src/core/FileLoader.cpp @@ -443,14 +443,6 @@ CFileLoader::LoadClumpFile(RwStream *stream, uint32 id) return false; mi = (CClumpModelInfo*)CModelInfo::GetModelInfo(id); mi->SetClump(clump); - if (mi->GetModelType() == MITYPE_PED && id != 0 && RwStreamFindChunk(stream, rwID_CLUMP, nil, nil)) { - // Read LOD ped - clump = RpClumpStreamRead(stream); - if(clump){ - ((CPedModelInfo*)mi)->SetLowDetailClump(clump); - RpClumpDestroy(clump); - } - } return true; } |