X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_gfx.pas;h=0bd271a1f7840b3802552a83c058abac072860f4;hb=d5d513b459869550bc0623d910eb97c706fab07d;hp=f15a802c93d4751d5c50e8540eb165318ac16217;hpb=5c816a8e702fd39c65d0928a3315d81e979f30fb;p=d2df-sdl.git diff --git a/src/game/opengl/r_gfx.pas b/src/game/opengl/r_gfx.pas index f15a802..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, - r_graphics, + 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;