diff --git a/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp b/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp index 56c47e0f29f..7cc010dc050 100644 --- a/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp +++ b/Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp @@ -1790,7 +1790,7 @@ void PointGroupClass::RenderVolumeParticle(RenderInfoClass &rinfo, unsigned int // 3 times per particle when we can do it once float recipDepth = 0.1f / (float)depth; - float shiftInc = ( t * *current_size * recipDepth ); + float shiftInc = t * (current_size ? *current_size : DefaultPointSize) * recipDepth; Vector3 volumeLayerShift; Vector3 cameraPosition = rinfo.Camera.Get_Position();