diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-10 09:44:39 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-10 09:44:39 +0200 |
commit | 6a7fdadeaab25e7b17557c30cea4c8be094d9bd9 (patch) | |
tree | 76a3086f2819de9248a2a2cabf00f24eeb5e82b0 /src/render/Renderer.cpp | |
parent | More CCarCtrl (diff) | |
parent | finished CPathFind (diff) | |
download | re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.tar re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.tar.gz re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.tar.bz2 re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.tar.lz re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.tar.xz re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.tar.zst re3-6a7fdadeaab25e7b17557c30cea4c8be094d9bd9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 77489e60..99d50e8f 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -200,9 +200,9 @@ CRenderer::RenderRoads(void) if(gbShowCarRoadGroups || gbShowPedRoadGroups){ int ind = 0; if(gbShowCarRoadGroups) - ind += ThePaths.m_pathNodes[t->m_nodeIndicesCars[0]].group; + ind += ThePaths.m_pathNodes[t->m_nodeIndices[PATH_CAR][0]].group; if(gbShowPedRoadGroups) - ind += ThePaths.m_pathNodes[t->m_nodeIndicesPeds[0]].group; + ind += ThePaths.m_pathNodes[t->m_nodeIndices[PATH_PED][0]].group; SetAmbientColoursToIndicateRoadGroup(ind); } #endif |