Explorar el Código

Merge pull request #486 from wivlaro/warning-fix-null-not-false

Wrong type warning. false should be NULL
Ivan Safrin hace 11 años
padre
commit
5aa1a77ac7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Core/Contents/Source/PolyParticleEmitter.cpp

+ 1 - 1
Core/Contents/Source/PolyParticleEmitter.cpp

@@ -62,7 +62,7 @@ Mesh *SceneParticleEmitter::getSourcesMeshAtIndex(int index) {
     if(index > 0 && index < sourceMeshes.size()) {
         return sourceMeshes[index];
     }
-    return false;
+	return NULL;
 }
 
 void SceneParticleEmitter::removeSourceMeshAtIndex(int index) {