Converted first thing to shared pointers.
This commit is contained in:
		@@ -19,8 +19,8 @@ namespace Dawn {
 | 
			
		||||
      public:
 | 
			
		||||
        SimpleTexturedMaterial *material;
 | 
			
		||||
 | 
			
		||||
        static std::vector<Asset*> prefabAssets(AssetManager *man) {
 | 
			
		||||
          return std::vector<Asset*>();
 | 
			
		||||
        static std::vector<std::shared_ptr<Asset>> prefabAssets(AssetManager *man) {
 | 
			
		||||
          return std::vector<std::shared_ptr<Asset>>();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        SimpleSpinningCubePrefab(Scene *s, sceneitemid_t i) :
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user