Cam: Fix can't look to right on BEHINDCAR

This commit is contained in:
erorcun 2021-08-22 12:25:43 +03:00
parent 285fee01f2
commit 09f693b9b9

View file

@ -723,7 +723,7 @@ CCam::LookRight(void)
CVector TargetCoors, TargetFwd;
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;
TargetCoors = CamTargetEntity->GetPosition();
Front = CamTargetEntity->GetPosition() - Source;