X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_weapons.pas;h=94d1d4ade21ae5e423c512a020269bc8d431763d;hb=f4de0d349a282253a43c8dcf7cd69e098657c312;hp=974d744fcdc8beecf68c10a58267c333e8b2596e;hpb=fdec2c22a805354084c745fd93a535b66d8e3475;p=d2df-sdl.git diff --git a/src/game/opengl/r_weapons.pas b/src/game/opengl/r_weapons.pas index 974d744..94d1d4a 100644 --- a/src/game/opengl/r_weapons.pas +++ b/src/game/opengl/r_weapons.pas @@ -24,8 +24,8 @@ implementation uses SysUtils, Classes, Math, MAPDEF, - r_graphics, - g_basic, g_game, + r_graphics, r_animations, + g_base, g_basic, g_game, g_weapons ; @@ -53,9 +53,9 @@ implementation if Animation <> nil then begin if Shots[i].ShotType in [WEAPON_BARON_FIRE, WEAPON_MANCUB_FIRE, WEAPON_SKEL_FIRE] then - Animation.DrawEx(fX, fY, TMirrorType.None, p, a) + r_Animation_DrawEx(Animation, fX, fY, TMirrorType.None, p, a) else - Animation.Draw(fX, fY, TMirrorType.None); + r_Animation_Draw(Animation, fX, fY, TMirrorType.None); end else if TextureID <> 0 then begin