diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 12:31:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 12:31:23 +0200 |
commit | 4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e (patch) | |
tree | c792ebb3effbb2d45c05185c294f34fe17c97a0b /src/render/Renderer.cpp | |
parent | more attractor fixes (diff) | |
download | re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.gz re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.bz2 re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.lz re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.xz re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.tar.zst re3-4defd8b75c80341ecccbfe2a0d3a6baf34c4f02e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 406edc9f..803f4cc1 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -143,7 +143,8 @@ CRenderer::RenderOneNonRoad(CEntity *e) resetLights = e->SetupLighting(); if(e->IsVehicle()){ - CVisibilityPlugins::SetupVehicleVariables(e->GetClump()); + // unfortunately can't use GetClump here + CVisibilityPlugins::SetupVehicleVariables((RpClump*)e->m_rwObject); CVisibilityPlugins::InitAlphaAtomicList(); } |