DEADSOFTWARE

no more callback in `Grid.traceBox()` (it wasn't used anyway)
[d2df-sdl.git] / src / game / g_holmes.pas
index 142e2be2a4f1933ef463ead57b5256bae6574503..c4eba8b2ee4e718b58e16d8d78ab13c719ca11ee 100644 (file)
@@ -951,7 +951,7 @@ procedure plrDebugDraw ();
     pdy := pmsCurMapY-(py+ph div 2);
     hlmContext.color := TGxRGBA.Create(255, 0, 255, 200);
     hlmContext.line(px+pw div 2, py+ph div 2, px+pw div 2+pdx, py+ph div 2+pdy);
-    pan := mapGrid.traceBox(ex, ey, px, py, pw, ph, pdx, pdy, nil, GridTagObstacle);
+    pan := mapGrid.traceBox(ex, ey, px, py, pw, ph, pdx, pdy, GridTagObstacle);
     if (pan = nil) then
     begin
       hlmContext.color := TGxRGBA.Create(255, 255, 255, 180);