DEADSOFTWARE

simple allocation counter for classes
[d2df-sdl.git] / src / game / g_textures.pas
index af3b29ff8e464f1fe8467a2b804ea384bd8d0ba5..f18695861cd8007a217f07983c312d10c93af076 100644 (file)
@@ -19,6 +19,7 @@ unit g_textures;
 interface
 
 uses
+  mempool,
   e_graphics, MAPDEF, BinEditor, ImagingTypes, Imaging, ImagingUtility;
 
 Type
@@ -35,7 +36,7 @@ Type
 
   TLevelTextureArray = Array of TLevelTexture;
 
-  TAnimation = class(TObject)
+  TAnimation = class(TPoolObject)
   private
     ID:            DWORD;
     FAlpha:        Byte;