index 5160510d65026345c4a4b07ca1e4b956e21c9604..c9de77c350ddd6c333686c092f056b1e03c1fa8c 100644 (file)
uses
{$INCLUDE ../nogl/noGLuses.inc}
SysUtils, Classes, Math,
- r_graphics, g_options,
+ r_graphics, g_options, r_animations,
g_base, g_basic, g_textures
;
Exit;
for xx := 0 to Width div TextureWidth - 1 do
for yy := 0 to Height div TextureHeight - 1 do
- TextureIDs[FCurTexture].AnTex.Draw(X + xx * TextureWidth, Y + yy * TextureHeight, TMirrorType.None);
+ r_Animation_Draw(TextureIDs[FCurTexture].AnTex, X + xx * TextureWidth, Y + yy * TextureHeight, TMirrorType.None);
end
else
begin