diff options
| author | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 21:50:59 +0200 |
|---|---|---|
| committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 21:50:59 +0200 |
| commit | 8eed6ae1794989eb15fe95d867c44c196080c4dd (patch) | |
| tree | 2e995dcc6e9c1eb830fe634fe695b0778c4d7957 /src/modelinfo/ClumpModelInfo.cpp | |
| parent | Merge pull request #909 from Fire-Head/master (diff) | |
| download | re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.gz | |
Use original names
Diffstat (limited to 'src/modelinfo/ClumpModelInfo.cpp')
| -rw-r--r-- | src/modelinfo/ClumpModelInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelinfo/ClumpModelInfo.cpp b/src/modelinfo/ClumpModelInfo.cpp index 64bb5ed5..ec64977b 100644 --- a/src/modelinfo/ClumpModelInfo.cpp +++ b/src/modelinfo/ClumpModelInfo.cpp @@ -112,7 +112,7 @@ CClumpModelInfo::SetClump(RpClump *clump) } RpHAnimHierarchySetFlags(hier, (RpHAnimHierarchyFlag)(rpHANIMHIERARCHYUPDATEMODELLINGMATRICES|rpHANIMHIERARCHYUPDATELTMS)); } - if(strcmp(GetName(), "playerh") == 0){ + if(strcmp(GetModelName(), "playerh") == 0){ // playerh is incompatible with the xbox player skin // so check if player model is skinned and only apply skin to head if it isn't CPedModelInfo *body = (CPedModelInfo*)CModelInfo::GetModelInfo(MI_PLAYER); @@ -120,7 +120,7 @@ CClumpModelInfo::SetClump(RpClump *clump) RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB); } #else - if(strcmp(GetName(), "playerh") == 0){ + if(strcmp(GetModelName(), "playerh") == 0){ RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB); #endif } |
