Skip to content

Commit

Permalink
Fixed Real First Person
Browse files Browse the repository at this point in the history
  • Loading branch information
Veloscocity authored and Regynate committed Oct 26, 2023
1 parent cb79715 commit 65f32a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChaosMod/Effects/db/Screen/ScreenRealFirstPerson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ static void SetupCamera()
Vector3 boneCoords = GET_PED_BONE_COORDS(playerPed, boneId, 0, 0, 0);
eCamera = CREATE_CAM_WITH_PARAMS("DEFAULT_SCRIPTED_CAMERA", boneCoords.x, boneCoords.y, boneCoords.z, 0, 0, 0, 60,
false, 2);
ATTACH_CAM_TO_PED_BONE(eCamera, playerPed, GET_PED_BONE_INDEX(playerPed, boneId), 0.1f, 0.f, 0.2f, false);
ATTACH_CAM_TO_PED_BONE(eCamera, playerPed, boneId, 0.f, 0.f, 0.05f, false);

SET_CAM_NEAR_CLIP(eCamera, 0.2);
SET_CAM_NEAR_CLIP(eCamera, 0.2f);
SET_CAM_AFFECTS_AIMING(eCamera, false);
}

Expand Down

0 comments on commit 65f32a5

Please sign in to comment.