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;