make game load all platform dffs

This commit is contained in:
aap
2020-07-16 13:36:25 +02:00
parent d0f5464200
commit 4e3e1d0b87
4 changed files with 89 additions and 3 deletions

View File

@ -1091,7 +1091,7 @@ CVehicleModelInfo::SetEnvironmentMapCB(RpAtomic *atomic, void *data)
RpGeometry *geo;
geo = RpAtomicGetGeometry(atomic);
fx = 0;
fx = rpMATFXEFFECTNULL;
RpGeometryForAllMaterials(geo, GetMatFXEffectMaterialCB, &fx);
if(fx != rpMATFXEFFECTNULL){
RpMatFXAtomicEnableEffects(atomic);