We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d4dec7 commit 0a1cbb8Copy full SHA for 0a1cbb8
Client/game_sa/CModelInfoSA.cpp
@@ -1287,6 +1287,9 @@ void CModelInfoSA::SetColModel(CColModel* pColModel)
1287
m_pInterface->bDoWeOwnTheColModel = false;
1288
m_pInterface->bCollisionWasStreamedWithModel = false;
1289
1290
+ // Fix random foliage on custom collisions by calling CPlantMgr::SetPlantFriendlyFlagInAtomicMI
1291
+ (reinterpret_cast<void(__cdecl*)(CBaseModelInfoSAInterface*)>(0x5DB650))(m_pInterface);
1292
+
1293
// Set some lighting for this collision if not already present
1294
CColDataSA* pColData = pColModelInterface->m_data;
1295
0 commit comments