summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-20 23:29:58 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-20 23:32:16 +0200
commit936acedcf045208afca770082771dd7e52d0c235 (patch)
treeef52d8a5888e1b922b6a0e354eb3a4337568d7f7 /src/control
parentMerge pull request #158 from Nick007J/master (diff)
downloadre3-936acedcf045208afca770082771dd7e52d0c235.tar
re3-936acedcf045208afca770082771dd7e52d0c235.tar.gz
re3-936acedcf045208afca770082771dd7e52d0c235.tar.bz2
re3-936acedcf045208afca770082771dd7e52d0c235.tar.lz
re3-936acedcf045208afca770082771dd7e52d0c235.tar.xz
re3-936acedcf045208afca770082771dd7e52d0c235.tar.zst
re3-936acedcf045208afca770082771dd7e52d0c235.zip
Diffstat (limited to '')
-rw-r--r--src/control/PathFind.cpp2
-rw-r--r--src/control/PathFind.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index a92882db..f90e0c8f 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -5,7 +5,7 @@
CPathFind &ThePaths = *(CPathFind*)0x8F6754;
WRAPPER int32 CPathFind::FindNodeClosestToCoors(CVector coors, uint8 type, float distLimit, bool disabled, bool betweenLevels) { EAXJMP(0x42CC30); }
-
+WRAPPER CPathNode** CPathFind::FindNextNodeWandering(uint8, CVector, CPathNode**, CPathNode**, uint8, uint8*) { EAXJMP(0x42B9F0); }
int TempListLength;
enum
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index 9b6be573..9d97de3f 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -129,6 +129,7 @@ public:
void StoreNodeInfoCar(int16 id, int16 node, int8 type, int8 next, int16 x, int16 y, int16 z, int16 width, int8 numLeft, int8 numRight);
void RegisterMapObject(CTreadable *mapObject);
int32 FindNodeClosestToCoors(CVector coors, uint8 type, float distLimit, bool disabled, bool betweenLevels);
+ CPathNode** FindNextNodeWandering(uint8, CVector, CPathNode**, CPathNode**, uint8, uint8*);
bool IsPathObject(int id) { return id < PATHNODESIZE && (InfoForTileCars[id*12].type != 0 || InfoForTilePeds[id*12].type != 0); }