summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-30 12:48:01 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-02 14:13:09 +0200
commitd23b2c423e5811cf6e9de28cbf8490de32ea4fb5 (patch)
tree0240b530a05679dc6d629c414f59bf56588a93b2 /src/core/World.cpp
parentMerge pull request #502 from rollschuh2282/patch-1 (diff)
downloadre3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.tar
re3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.tar.gz
re3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.tar.bz2
re3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.tar.lz
re3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.tar.xz
re3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.tar.zst
re3-d23b2c423e5811cf6e9de28cbf8490de32ea4fb5.zip
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 4b2ca76e..30d086df 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -659,7 +659,7 @@ CWorld::GetIsLineOfSightSectorListClear(CPtrList &list, const CColLine &line, bo
}
void
-CWorld::FindObjectsInRangeSectorList(CPtrList &list, CVector &centre, float radius, bool ignoreZ, short *nextObject,
+CWorld::FindObjectsInRangeSectorList(CPtrList &list, Const CVector &centre, float radius, bool ignoreZ, short *nextObject,
short lastObject, CEntity **objects)
{
float radiusSqr = radius * radius;
@@ -685,7 +685,7 @@ CWorld::FindObjectsInRangeSectorList(CPtrList &list, CVector &centre, float radi
}
void
-CWorld::FindObjectsInRange(CVector &centre, float radius, bool ignoreZ, short *nextObject, short lastObject,
+CWorld::FindObjectsInRange(Const CVector &centre, float radius, bool ignoreZ, short *nextObject, short lastObject,
CEntity **objects, bool checkBuildings, bool checkVehicles, bool checkPeds,
bool checkObjects, bool checkDummies)
{