DEADSOFTWARE

render: separate animation drawing from game code
[d2df-sdl.git] / src / game / opengl / r_items.pas
index 6e3dfee703f939d272ffa52604a0c3a1bd005d5d..a317d857744e99437707f77f50ce3576db86212e 100644 (file)
@@ -24,7 +24,7 @@ implementation
 
   uses
     SysUtils, Classes, Math,
-    r_graphics,
+    r_graphics, r_animations,
     MAPDEF,
     g_base, g_basic, g_game,
     g_items
@@ -55,7 +55,7 @@ begin
         end
         else
         begin
-          Animation.Draw(fX, fY, TMirrorType.None);
+          r_Animation_Draw(Animation, fX, fY, TMirrorType.None);
         end;
 
         if g_debug_Frames then