mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 09:10:01 +00:00
wrong path node array
This commit is contained in:
parent
10120eb12f
commit
2814f2e8cf
|
@ -338,17 +338,17 @@ CPathFind::StoreNodeInfoCar(int16 id, int16 node, int8 type, int8 next, int16 x,
|
||||||
InfoForTileCars[i].x = x/16.0f;
|
InfoForTileCars[i].x = x/16.0f;
|
||||||
InfoForTileCars[i].y = y/16.0f;
|
InfoForTileCars[i].y = y/16.0f;
|
||||||
InfoForTileCars[i].z = z/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].numLeftLanes = numLeft;
|
||||||
InfoForTileCars[i].numRightLanes = numRight;
|
InfoForTileCars[i].numRightLanes = numRight;
|
||||||
InfoForTilePeds[i].crossing = false;
|
InfoForTileCars[i].crossing = false;
|
||||||
InfoForTilePeds[i].speedLimit = 0;
|
InfoForTileCars[i].speedLimit = 0;
|
||||||
InfoForTilePeds[i].roadBlock = false;
|
InfoForTileCars[i].roadBlock = false;
|
||||||
InfoForTilePeds[i].disabled = false;
|
InfoForTileCars[i].disabled = false;
|
||||||
InfoForTilePeds[i].waterPath = false;
|
InfoForTileCars[i].waterPath = false;
|
||||||
InfoForTilePeds[i].onlySmallBoats = false;
|
InfoForTileCars[i].onlySmallBoats = false;
|
||||||
InfoForTilePeds[i].betweenLevels = false;
|
InfoForTileCars[i].betweenLevels = false;
|
||||||
InfoForTilePeds[i].spawnRate = Min(spawnRate, 15);
|
InfoForTileCars[i].spawnRate = Min(spawnRate, 15);
|
||||||
|
|
||||||
if(node == 11)
|
if(node == 11)
|
||||||
InfoForTileCars[id*12].SwapConnectionsToBeRightWayRound();
|
InfoForTileCars[id*12].SwapConnectionsToBeRightWayRound();
|
||||||
|
|
Loading…
Reference in a new issue