X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_gfx.pas;h=0bd271a1f7840b3802552a83c058abac072860f4;hp=293e3aa174f0171f26be3f375135519062fa81a4;hb=d5d513b459869550bc0623d910eb97c706fab07d;hpb=f78ac74cc8c7789d25c8783b21feee74ce938bb3 diff --git a/src/game/opengl/r_gfx.pas b/src/game/opengl/r_gfx.pas index 293e3aa..0bd271a 100644 --- a/src/game/opengl/r_gfx.pas +++ b/src/game/opengl/r_gfx.pas @@ -25,7 +25,7 @@ implementation {$INCLUDE ../nogl/noGLuses.inc} SysUtils, Classes, Math, utils, - g_base, r_graphics, g_options, + g_base, r_graphics, g_options, r_animations, g_game, g_gfx ; @@ -81,7 +81,7 @@ begin begin fx := nlerp(oldx, x, gLerpFactor); fy := nlerp(oldy, y, gLerpFactor); - Animation.Draw(x, y, TMirrorType.None); + r_Animation_Draw(Animation, x, y, TMirrorType.None); end; end; end;