summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-16 13:36:25 +0200
committeraap <aap@papnet.eu>2020-07-16 13:36:25 +0200
commit4e3e1d0b87b88738741955fd2b673ee6ea4295ab (patch)
tree5c8df0e14777e604db1471a831e81d89437d2c5d /src/modelinfo
parentMerge branch 'master' into miami (diff)
downloadre3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.tar
re3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.tar.gz
re3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.tar.bz2
re3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.tar.lz
re3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.tar.xz
re3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.tar.zst
re3-4e3e1d0b87b88738741955fd2b673ee6ea4295ab.zip
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/VehicleModelInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp
index f80e908a..d5396d12 100644
--- a/src/modelinfo/VehicleModelInfo.cpp
+++ b/src/modelinfo/VehicleModelInfo.cpp
@@ -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);