Converted first thing to shared pointers.
This commit is contained in:
		@@ -18,7 +18,9 @@ namespace Dawn {
 | 
			
		||||
       * @param man Asset Manasger for getting required assets from.
 | 
			
		||||
       * @return List of required assets this prefab.
 | 
			
		||||
       */
 | 
			
		||||
      static std::vector<Asset*> getRequiredAssets(AssetManager *man) {
 | 
			
		||||
      static std::vector<std::shared_ptr<Asset>>
 | 
			
		||||
        getRequiredAssets(AssetManager *man)
 | 
			
		||||
      {
 | 
			
		||||
        return P::prefabAssets(man);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user