summaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-08 22:07:11 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-08 22:07:11 +0200
commit101192dd322197d1f9e4aa4e48e38b43e05cd72b (patch)
treeae00316a66f04bd5459dcd8b7b325fb819c7ba06 /src/control/PathFind.h
parentFull CGameLogic (diff)
downloadre3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.tar
re3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.tar.gz
re3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.tar.bz2
re3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.tar.lz
re3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.tar.xz
re3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.tar.zst
re3-101192dd322197d1f9e4aa4e48e38b43e05cd72b.zip
Diffstat (limited to 'src/control/PathFind.h')
-rw-r--r--src/control/PathFind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index 91e2e0b1..de30d70b 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -186,8 +186,8 @@ public:
void FindNextNodeWandering(uint8, CVector, CPathNode**, CPathNode**, uint8, uint8*);
void DoPathSearch(uint8 type, CVector start, int32 startNodeId, CVector target, CPathNode **nodes, int16 *numNodes, int16 maxNumNodes, CVehicle *vehicle, float *dist, float distLimit, int32 forcedTargetNode);
bool TestCoorsCloseness(CVector target, uint8 type, CVector start);
- void Save(uint8 *buffer, uint32 *length);
- void Load(uint8 *buffer, uint32 length);
+ void Save(uint8 *buf, uint32 *size);
+ void Load(uint8 *buf, uint32 size);
};
static_assert(sizeof(CPathFind) == 0x49bf4, "CPathFind: error");