Skip to content

Commit

Permalink
Merge pull request #1466 from CBATeam/sog-cinematic-feature-camera
Browse files Browse the repository at this point in the history
Detect SOG Cinematic module camera in feature camera
  • Loading branch information
commy2 authored Jun 17, 2021
2 parents 58bfcd4 + c9b0728 commit a9f06df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/common/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ GVAR(featureCamerasNames) = [
"animViewer", // Animation viewer camera
"classic" // Classic camera
];
if (isClass (configFile >> "CfgPatches" >> "missions_f_vietnam")) then { // Add SOG Cinematic module camera if CDLC loaded
["vn_cinematic", {missionNamespace getVariable ["vn_cinematic_running", false]}] call CBA_fnc_registerFeatureCamera;
};

call COMPILE_FILE(init_gauss);
call COMPILE_FILE(init_perFrameHandler);
Expand Down
1 change: 1 addition & 0 deletions addons/common/fnc_getActiveFeatureCamera.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Description:
- Splendid camera (BIS_fnc_camera)
- Animation viewer (BIS_fnc_animViewer)
- Classic camera (BIS_fnc_cameraOld)
- SOG Cinematic module camera
And cameras registered via CBA_fnc_registerFeatureCamera.
Expand Down

0 comments on commit a9f06df

Please sign in to comment.