Daniele Bartolini 11 лет назад
Родитель
Сommit
5e2f576ebf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      engine/resource/resource_registry.cpp

+ 1 - 1
engine/resource/resource_registry.cpp

@@ -100,7 +100,7 @@ static const ResourceCallback* find_callback(uint64_t type)
 		c++;
 	}
 
-	CE_ASSERT_NOT_NULL(c);
+	CE_ASSERT(c->type != 0, "Compiler not found");
 	return c;
 }