summaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-23 12:50:46 +0100
committeraap <aap@papnet.eu>2021-01-23 12:50:46 +0100
commita22b6168c6cc0df109cd9c38d1b1229c26951113 (patch)
tree39b0f1f81826b3b7fa875fde1f920b1f4f2a9fba /src/control/PathFind.cpp
parentcolstore done (diff)
downloadre3-a22b6168c6cc0df109cd9c38d1b1229c26951113.tar
re3-a22b6168c6cc0df109cd9c38d1b1229c26951113.tar.gz
re3-a22b6168c6cc0df109cd9c38d1b1229c26951113.tar.bz2
re3-a22b6168c6cc0df109cd9c38d1b1229c26951113.tar.lz
re3-a22b6168c6cc0df109cd9c38d1b1229c26951113.tar.xz
re3-a22b6168c6cc0df109cd9c38d1b1229c26951113.tar.zst
re3-a22b6168c6cc0df109cd9c38d1b1229c26951113.zip
Diffstat (limited to '')
-rw-r--r--src/control/PathFind.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index cacddbe1..bc9af2e9 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -338,17 +338,17 @@ CPathFind::StoreNodeInfoCar(int16 id, int16 node, int8 type, int8 next, int16 x,
InfoForTileCars[i].x = x/16.0f;
InfoForTileCars[i].y = y/16.0f;
InfoForTileCars[i].z = z/16.0f;
- InfoForTilePeds[i].width = 8.0f*Min(width, 15.0f);
+ InfoForTileCars[i].width = 8.0f*Min(width, 15.0f);
InfoForTileCars[i].numLeftLanes = numLeft;
InfoForTileCars[i].numRightLanes = numRight;
- InfoForTilePeds[i].crossing = false;
- InfoForTilePeds[i].speedLimit = 0;
- InfoForTilePeds[i].roadBlock = false;
- InfoForTilePeds[i].disabled = false;
- InfoForTilePeds[i].waterPath = false;
- InfoForTilePeds[i].onlySmallBoats = false;
- InfoForTilePeds[i].betweenLevels = false;
- InfoForTilePeds[i].spawnRate = Min(spawnRate, 15);
+ InfoForTileCars[i].crossing = false;
+ InfoForTileCars[i].speedLimit = 0;
+ InfoForTileCars[i].roadBlock = false;
+ InfoForTileCars[i].disabled = false;
+ InfoForTileCars[i].waterPath = false;
+ InfoForTileCars[i].onlySmallBoats = false;
+ InfoForTileCars[i].betweenLevels = false;
+ InfoForTileCars[i].spawnRate = Min(spawnRate, 15);
if(node == 11)
InfoForTileCars[id*12].SwapConnectionsToBeRightWayRound();