mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 00:04:07 +00:00
most of animation system done; little stuff here and there
This commit is contained in:
parent
78ca912434
commit
2eee4c5176
27 changed files with 497 additions and 229 deletions
|
@ -1529,7 +1529,6 @@ CCamera::UpdateTargetEntity(void)
|
|||
pTargetEntity = FindPlayerVehicle();
|
||||
else{
|
||||
pTargetEntity = FindPlayerPed();
|
||||
#ifndef GTA_PS2_STUFF
|
||||
// this keeps the camera on the player while entering cars
|
||||
if(PLAYER->GetPedState() == PED_ENTER_CAR ||
|
||||
PLAYER->GetPedState() == PED_CARJACK ||
|
||||
|
@ -1539,7 +1538,6 @@ CCamera::UpdateTargetEntity(void)
|
|||
if(!enteringCar)
|
||||
if(Cams[ActiveCam].CamTargetEntity != pTargetEntity)
|
||||
Cams[ActiveCam].CamTargetEntity = pTargetEntity;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool cantOpen = true;
|
||||
|
@ -1558,16 +1556,9 @@ CCamera::UpdateTargetEntity(void)
|
|||
|
||||
if((PLAYER->GetPedState() == PED_CARJACK || PLAYER->GetPedState() == PED_OPEN_DOOR) && !cantOpen){
|
||||
if(!enteringCar && CarZoomIndicator != CAM_ZOOM_1STPRS)
|
||||
#ifdef GTA_PS2_STUFF
|
||||
// dunno if this has any amazing effects
|
||||
{
|
||||
#endif
|
||||
pTargetEntity = PLAYER->m_pMyVehicle;
|
||||
if(PLAYER->m_pMyVehicle == nil)
|
||||
pTargetEntity = PLAYER;
|
||||
#ifdef GTA_PS2_STUFF
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if(PLAYER->GetPedState() == PED_EXIT_CAR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue