From 3b64bd1b4a5008b14b54edb257d4e8a5a8277c26 Mon Sep 17 00:00:00 2001 From: aap Date: Tue, 18 Jun 2019 09:50:26 +0200 Subject: finished CFileLoader, except a crash! --- src/control/PathFind.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/control/PathFind.cpp') diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp index 8cfc17e7..c3af2e30 100644 --- a/src/control/PathFind.cpp +++ b/src/control/PathFind.cpp @@ -76,6 +76,12 @@ CPathFind::StoreNodeInfoCar(int16 id, int16 node, int8 type, int8 next, int16 x, InfoForTileCars[i].numRightLanes = numRight; } +void +CPathFind::RegisterMapObject(CTreadable *mapObject) +{ + m_mapObjects[m_numMapObjects++] = mapObject; +} + void CPathFind::PreparePathData(void) { -- cgit v1.2.3