mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 14:52:45 +00:00
Merge branch 'miami' into lcs
# Conflicts: # src/core/Radar.cpp # src/core/Radar.h
This commit is contained in:
@ -929,7 +929,7 @@ CEscalator::AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, b
|
||||
m_pos2 = pos2;
|
||||
m_pos3 = pos3;
|
||||
|
||||
float escalatorStepHeight = CModelInfo::GetModelInfo(MI_ESCALATORSTEP)->GetColModel()->boundingBox.max.z;
|
||||
float escalatorStepHeight = CModelInfo::GetColModel(MI_ESCALATORSTEP)->boundingBox.max.z;
|
||||
m_pos0.z -= escalatorStepHeight;
|
||||
m_pos1.z -= escalatorStepHeight;
|
||||
m_pos2.z -= escalatorStepHeight;
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user