diff options
author | aap <aap@papnet.eu> | 2020-04-09 16:35:24 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-09 17:45:05 +0200 |
commit | 6225e5072309e69e98246f59222ba82ddf6a418a (patch) | |
tree | 9a34067ead53a4b1dc5682ac2d78ede339b62c0d /src/modelinfo/PedModelInfo.cpp | |
parent | AddExplosion shadow fix (diff) | |
download | re3-6225e5072309e69e98246f59222ba82ddf6a418a.tar re3-6225e5072309e69e98246f59222ba82ddf6a418a.tar.gz re3-6225e5072309e69e98246f59222ba82ddf6a418a.tar.bz2 re3-6225e5072309e69e98246f59222ba82ddf6a418a.tar.lz re3-6225e5072309e69e98246f59222ba82ddf6a418a.tar.xz re3-6225e5072309e69e98246f59222ba82ddf6a418a.tar.zst re3-6225e5072309e69e98246f59222ba82ddf6a418a.zip |
Diffstat (limited to 'src/modelinfo/PedModelInfo.cpp')
-rw-r--r-- | src/modelinfo/PedModelInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modelinfo/PedModelInfo.cpp b/src/modelinfo/PedModelInfo.cpp index 7b087fbd..015c6949 100644 --- a/src/modelinfo/PedModelInfo.cpp +++ b/src/modelinfo/PedModelInfo.cpp @@ -216,7 +216,7 @@ CPedModelInfo::AnimatePedColModel(CColModel* colmodel, RwFrame* frame) RwMatrixCopy(mat, RwFrameGetMatrix(f)); for (f = RwFrameGetParent(f); f; f = RwFrameGetParent(f)) { - RwMatrixTransform(mat, &f->modelling, rwCOMBINEPOSTCONCAT); + RwMatrixTransform(mat, RwFrameGetMatrix(f), rwCOMBINEPOSTCONCAT); if (RwFrameGetParent(f) == frame) break; } |