diff --git a/src/game/g_phys.pas b/src/game/g_phys.pas
index 3ff102b6e00b3220b8ce658b4cc7666726468820..2695eb7e67d9452212b2420da3d65b22177d6ebd 100644 (file)
--- a/src/game/g_phys.pas
+++ b/src/game/g_phys.pas
slopeFramesLeft: Integer; // frames left to go
// for frame interpolation
oldX, oldY: Integer;
- procedure lerp(t: Single; out fX, fY: Integer);
end;
const
const
SmoothSlopeFrames = 4;
-procedure TObj.lerp(t: Single; out fX, fY: Integer);
-begin
- fX := nlerp(oldX, X, t);
- fY := nlerp(oldY, Y, t);
-end;
-
function g_Obj_StayOnStep(Obj: PObj): Boolean; inline;
begin
Result := not g_Map_CollidePanel(Obj^.X+Obj^.Rect.X, Obj^.Y+Obj^.Rect.Y+Obj^.Rect.Height-1,