diff options
author | aap <aap@papnet.eu> | 2020-05-26 11:37:46 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-26 11:37:46 +0200 |
commit | 7e5dde1f1a6ffbba98572b7fad3a51538104c04b (patch) | |
tree | 687c7fae6b53d4594b39f7c80a8f8fef929288c7 /src/modelinfo/PedModelInfo.cpp | |
parent | fixed NE bug (diff) | |
download | re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.gz re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.bz2 re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.lz re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.xz re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.tar.zst re3-7e5dde1f1a6ffbba98572b7fad3a51538104c04b.zip |
Diffstat (limited to 'src/modelinfo/PedModelInfo.cpp')
-rw-r--r-- | src/modelinfo/PedModelInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelinfo/PedModelInfo.cpp b/src/modelinfo/PedModelInfo.cpp index 473e8b63..1d8aa4dc 100644 --- a/src/modelinfo/PedModelInfo.cpp +++ b/src/modelinfo/PedModelInfo.cpp @@ -251,7 +251,7 @@ CPedModelInfo::CreateHitColModel(void) center.x = mat->pos.x + m_pColNodeInfos[i].x; center.y = mat->pos.y + 0.0f; center.z = mat->pos.z + m_pColNodeInfos[i].z; - spheres[i].Set(radius, center, SURFACE_FLESH, m_pColNodeInfos[i].pieceType); + spheres[i].Set(radius, center, SURFACE_PED, m_pColNodeInfos[i].pieceType); } } RwMatrixDestroy(mat); @@ -335,7 +335,7 @@ CPedModelInfo::CreateHitColModelSkinned(RpClump *clump) center.x = pos.x + m_pColNodeInfos[i].x; center.y = pos.y + 0.0f; center.z = pos.z + m_pColNodeInfos[i].z; - spheres[i].Set(m_pColNodeInfos[i].radius, center, SURFACE_FLESH, m_pColNodeInfos[i].pieceType); + spheres[i].Set(m_pColNodeInfos[i].radius, center, SURFACE_PED, m_pColNodeInfos[i].pieceType); } RwMatrixDestroy(invmat); RwMatrixDestroy(mat); |