summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-10 09:44:39 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-10 09:44:39 +0200
commit6a7fdadeaab25e7b17557c30cea4c8be094d9bd9 (patch)
tree76a3086f2819de9248a2a2cabf00f24eeb5e82b0 /src/render/Renderer.cpp
parentMore CCarCtrl (diff)
parentfinished CPathFind (diff)
downloadre3-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.cpp4
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