From 5db5b1f141c10ebe97a0e06404cb7118fb412a37 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Wed, 30 Aug 2017 13:43:57 +0300 Subject: [PATCH] renamed `grid.atPoint` to `grid.atCellInPoint` --- src/game/g_grid.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/g_grid.pas b/src/game/g_grid.pas index 442a776..5b88258 100644 --- a/src/game/g_grid.pas +++ b/src/game/g_grid.pas @@ -178,7 +178,7 @@ type // no callback: return object on the first hit or nil function forEachAtPoint (x, y: Integer; cb: TGridQueryCB; tagmask: Integer=-1; exittag: PInteger=nil): ITP; - function atPoint (x, y: Integer): TAtPointEnumerator; + function atCellInPoint (x, y: Integer): TAtPointEnumerator; //WARNING: don't modify grid while any query is in progress (no checks are made!) // you can set enabled/disabled flag, tho (but iterator can still return objects disabled inside it) @@ -1162,7 +1162,7 @@ end; // ////////////////////////////////////////////////////////////////////////// // -function TBodyGridBase.atPoint (x, y: Integer): TAtPointEnumerator; +function TBodyGridBase.atCellInPoint (x, y: Integer): TAtPointEnumerator; var cidx: Integer = -1; begin -- 2.29.2