From e06018aeea36cfe094f9a0edd49196c8c8afe4d5 Mon Sep 17 00:00:00 2001 From: Areloch Date: Mon, 11 Jul 2016 22:27:27 -0500 Subject: [PATCH] Properly initiates the max number of drops per batch to avoid possible corruption issues. --- Engine/source/T3D/fx/precipitation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Engine/source/T3D/fx/precipitation.cpp b/Engine/source/T3D/fx/precipitation.cpp index b0d8440d5d..19855e26fc 100644 --- a/Engine/source/T3D/fx/precipitation.cpp +++ b/Engine/source/T3D/fx/precipitation.cpp @@ -298,6 +298,7 @@ Precipitation::Precipitation() mSplashShaderCameraPosSC = NULL; mSplashShaderAmbientSC = NULL; + mMaxVBDrops = 5000; } Precipitation::~Precipitation()