summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 89aefa5)
raw | patch | inline | side by side (parent: 89aefa5)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 26 Jul 2022 22:09:13 +0000 (01:09 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 9 Jun 2023 09:03:39 +0000 (12:03 +0300) |
src/game/renders/opengl/r_common.pas | patch | blob | history |
index 448458903b26b9061ac04e097d32f2e764fa2fb9..99f46d1468c3ef3e5a2d39897178b750b9e2c48c 100644 (file)
{$ENDIF}
if p <> nil then
begin
- // TODO look up/down
r_Common_GetPlayerPos(p, x, y);
+ y := y - nlerp(p.IncCamOld, p.IncCam, gLerpFactor);
if center then
begin
x := x + p.obj.rect.width div 2;