diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-09 17:14:19 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-09 17:14:19 +0200 |
commit | 1f98f01dcb006783755bd58fa458bb515626b2dd (patch) | |
tree | a9c26a33b0ae98f19c48a151ae5910422e18816f /src/renderer/Renderer.cpp | |
parent | Add sprite to the waypoint marker (diff) | |
download | re3-1f98f01dcb006783755bd58fa458bb515626b2dd.tar re3-1f98f01dcb006783755bd58fa458bb515626b2dd.tar.gz re3-1f98f01dcb006783755bd58fa458bb515626b2dd.tar.bz2 re3-1f98f01dcb006783755bd58fa458bb515626b2dd.tar.lz re3-1f98f01dcb006783755bd58fa458bb515626b2dd.tar.xz re3-1f98f01dcb006783755bd58fa458bb515626b2dd.tar.zst re3-1f98f01dcb006783755bd58fa458bb515626b2dd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/renderer/Renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/Renderer.cpp b/src/renderer/Renderer.cpp index 25effc81..334f3954 100644 --- a/src/renderer/Renderer.cpp +++ b/src/renderer/Renderer.cpp @@ -158,7 +158,7 @@ CRenderer::RenderOneRoad(CEntity *e) if(gbDontRenderBuildings) return; if(gbShowCollisionPolys) - CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel(), e->GetModelIndex()); + CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetColModel(e->GetModelIndex()), e->GetModelIndex()); else #endif { @@ -191,7 +191,7 @@ CRenderer::RenderOneNonRoad(CEntity *e) #ifndef MASTER if(gbShowCollisionPolys){ if(!e->IsVehicle()){ - CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel(), e->GetModelIndex()); + CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetColModel(e->GetModelIndex()), e->GetModelIndex()); return; } }else if(e->IsBuilding()){ |