mirror of
https://github.com/halpz/re3.git
synced 2025-01-06 20:05:27 +00:00
Cam: Fix can't look to right on BEHINDCAR
This commit is contained in:
parent
285fee01f2
commit
09f693b9b9
|
@ -723,7 +723,7 @@ CCam::LookRight(void)
|
||||||
CVector TargetCoors, TargetFwd;
|
CVector TargetCoors, TargetFwd;
|
||||||
CColPoint colPoint;
|
CColPoint colPoint;
|
||||||
|
|
||||||
if((Mode == MODE_CAM_ON_A_STRING || Mode == MODE_BEHINDBOAT) && CamTargetEntity->IsVehicle()){
|
if((Mode == MODE_CAM_ON_A_STRING || Mode == MODE_BEHINDBOAT || Mode == MODE_BEHINDCAR) && CamTargetEntity->IsVehicle()){
|
||||||
LookingRight = true;
|
LookingRight = true;
|
||||||
TargetCoors = CamTargetEntity->GetPosition();
|
TargetCoors = CamTargetEntity->GetPosition();
|
||||||
Front = CamTargetEntity->GetPosition() - Source;
|
Front = CamTargetEntity->GetPosition() - Source;
|
||||||
|
|
Loading…
Reference in a new issue