summarylogtreecommitdiffstats
path: root/ParticleEmitterInstances.patch
blob: 3e2badf2de250a9e3e3ab4d04c10f1c2376214d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ParticleEmitterInstances.cpp	2017-05-08 18:17:52.511829490 -0500
+++ ParticleEmitterInstance_new.cpp	2017-05-08 18:17:40.082100083 -0500
@@ -377,7 +377,7 @@
 	    {
 		    check(ParticleModule);
 		    uint8* PrepInstData = GetModuleInstanceData(ParticleModule);
-			    check(PrepInstData > 0); // Shouldn't be in the list if it doesn't have data
+			    check(PrepInstData != nullptr); // Shouldn't be in the list if it doesn't have data
 			    ParticleModule->PrepPerInstanceBlock(this, (void*)PrepInstData);
 	    }