summaryrefslogtreecommitdiffstats
path: root/src/core/World.h
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.h
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.h')
-rw-r--r--src/core/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/World.h b/src/core/World.h
index 25c76531..991180af 100644
--- a/src/core/World.h
+++ b/src/core/World.h
@@ -101,8 +101,8 @@ public:
static CEntity *TestSphereAgainstWorld(CVector centre, float radius, CEntity *entityToIgnore, bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies, bool ignoreSomeObjects);
static CEntity *TestSphereAgainstSectorList(CPtrList&, CVector, float, CEntity*, bool);
- static void FindObjectsInRangeSectorList(CPtrList&, CVector&, float, bool, short*, short, CEntity**);
- static void FindObjectsInRange(CVector&, float, bool, short*, short, CEntity**, bool, bool, bool, bool, bool);
+ static void FindObjectsInRangeSectorList(CPtrList&, Const CVector&, float, bool, short*, short, CEntity**);
+ static void FindObjectsInRange(Const CVector&, float, bool, short*, short, CEntity**, bool, bool, bool, bool, bool);
static void FindObjectsOfTypeInRangeSectorList(uint32 modelId, CPtrList& list, const CVector& position, float radius, bool bCheck2DOnly, int16* nEntitiesFound, int16 maxEntitiesToFind, CEntity** aEntities);
static void FindObjectsOfTypeInRange(uint32 modelId, const CVector& position, float radius, bool bCheck2DOnly, int16* nEntitiesFound, int16 maxEntitiesToFind, CEntity** aEntities, bool bBuildings, bool bVehicles, bool bPeds, bool bObjects, bool bDummies);
static float FindGroundZForCoord(float x, float y);