summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb334f2)
raw | patch | inline | side by side (parent: cb334f2)
author | Joseph Stalin <granminigun@pm.me> | |
Thu, 27 Dec 2018 05:13:24 +0000 (10:13 +0500) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 5 Jan 2019 12:02:28 +0000 (15:02 +0300) |
Signed-off-by: DeaDDooMER <deaddoomer@deadsoftware.ru>
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index de559b7f008d25083f853e9f4486efef4c6db812..ef00f5d3796e5fc18c9e185d5e574bfb4d25d32a 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
if FAlive then
begin
indX := FObj.X+FObj.Rect.X;
- indY := FObj.Y - 12;
+ indY := FObj.Y;
if g_Texture_Get('TEXTURE_PLAYER_INDICATOR', ID) then
begin
e_GetTextureSize(ID, @indW, @indH);
- e_Draw(ID, indX + indW div 2, indY, 0, True, False);
+ e_Draw(ID, indX + indW div 2, indY - indH, 0, True, False);
end;
end;
//e_TextureFontPrint(indX, indY, FName, gStdFont); // Shows player name overhead