mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 01:04:09 +00:00
some camera code
This commit is contained in:
parent
f78f707935
commit
c7a32bb83d
11 changed files with 1012 additions and 896 deletions
|
@ -357,7 +357,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent)
|
|||
if(mi->GetModelType() != MITYPE_SIMPLE && mi->GetModelType() != MITYPE_WEAPON){
|
||||
if(FindPlayerVehicle() == ent &&
|
||||
TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_1STPERSON &&
|
||||
!(FindPlayerVehicle()->IsBike() && ((CBike*)FindPlayerVehicle())->m_bike_flag80)){
|
||||
!(FindPlayerVehicle()->IsBike() && ((CBike*)FindPlayerVehicle())->bWheelieCam)){
|
||||
// Player's vehicle in first person mode
|
||||
CVehicle *veh = (CVehicle*)ent;
|
||||
int model = veh->GetModelIndex();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue