diff options
author | aap <aap@papnet.eu> | 2020-05-10 13:08:02 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 13:08:02 +0200 |
commit | f7300c7a27c3f2633419fe73ec2643fc9d4951cf (patch) | |
tree | 6483fb404f227882bdaf0979e919adb29887c03d /src/core/FileLoader.cpp | |
parent | Merge pull request #530 from Nick007J/miami (diff) | |
download | re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.tar re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.tar.gz re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.tar.bz2 re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.tar.lz re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.tar.xz re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.tar.zst re3-f7300c7a27c3f2633419fe73ec2643fc9d4951cf.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; } |