mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 05:44:09 +00:00
Merge branch 'miami' into lcs
# Conflicts: # src/core/Radar.cpp # src/core/Radar.h
This commit is contained in:
commit
2c79080e1b
15 changed files with 86 additions and 34 deletions
|
@ -141,7 +141,7 @@ CRenderer::RenderOneRoad(CEntity *e)
|
|||
if(gbDontRenderBuildings)
|
||||
return;
|
||||
if(gbShowCollisionPolys || gbShowCollisionPolysReflections || gbShowCollisionPolysNoShadows)
|
||||
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
|
||||
{
|
||||
|
@ -164,7 +164,7 @@ CRenderer::RenderOneNonRoad(CEntity *e)
|
|||
#ifndef MASTER
|
||||
if(gbShowCollisionPolys || gbShowCollisionPolysReflections || gbShowCollisionPolysNoShadows){
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue