Просмотр исходного кода

Wrong type warning. false should be NULL

Bill Robinson 11 лет назад
Родитель
Сommit
c5b4e9eed9
1 измененных файлов с 1 добавлено и 1 удалено
  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) {