X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_gui.pas;h=7329f52a8cc2df7c39bf01193bcdb8849d554442;hp=3181e6969102e55d77b1be621b7e46ab32158a79;hb=36fb40708726d6a0659f332a09c4c371473d0394;hpb=9c0771925cdad1c02e69512635dd66d26438f13b diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 3181e69..7329f52 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -552,7 +552,7 @@ implementation uses {$INCLUDE ../nogl/noGLuses.inc} g_textures, g_sound, SysUtils, e_res, - g_game, Math, StrUtils, g_player, g_options, + g_game, Math, StrUtils, g_player, g_options, r_playermodel, g_map, g_weapons, xdynrec, wadreader; @@ -2694,7 +2694,8 @@ begin DrawBox(FX, FY, 4, 4); - if FModel <> nil then FModel.Draw(FX+4, FY+4); + if FModel <> nil then + r_PlayerModel_Draw(FModel, FX+4, FY+4); end; procedure TGUIModelView.NextAnim();