mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Forgotten line
This commit is contained in:
@ -43,6 +43,7 @@ if((count _this) > 2) then {
|
|||||||
|
|
||||||
_cameraToActionVec = (_pos call EFUNC(common,positionToASL)) vectorDiff ((positionCameraToWorld [0,0,0]) call EFUNC(common,positionToASL));
|
_cameraToActionVec = (_pos call EFUNC(common,positionToASL)) vectorDiff ((positionCameraToWorld [0,0,0]) call EFUNC(common,positionToASL));
|
||||||
GVAR(refSystem) = _cameraToActionVec call EFUNC(common,createOrthonormalReference);
|
GVAR(refSystem) = _cameraToActionVec call EFUNC(common,createOrthonormalReference);
|
||||||
|
GVAR(menuScale) = (0.15 max (0.15 * ((positionCameraToWorld [0, 0, 0]) distance _pos))) / GVAR(selfMenuScale);
|
||||||
|
|
||||||
// For non-self actions, exit if the action is too far away
|
// For non-self actions, exit if the action is too far away
|
||||||
if (GVAR(keyDown) &&
|
if (GVAR(keyDown) &&
|
||||||
|
Reference in New Issue
Block a user