minimal weather stuff + multiple bugfixes

This commit is contained in:
Nikolay Korolev committed 2020-05-16 13:31:23 +03:00
1 parent 9067469f7c
commit 4defd8b75c
9 files changed
+146 -91

No files matched your search

+2 -1
View File
@@ -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();
}