mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update addons/spike/functions/fnc_camera_update.sqf
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
This commit is contained in:
parent
78e9e6dd88
commit
fee64db532
@ -117,7 +117,7 @@ if (_hasGimbal) then {
|
||||
private _offsetY = (_speedModifier * _gimbalSpeedY * _deltaTime * (_up - _down));
|
||||
|
||||
private _directionToLast = _relativePos;
|
||||
if !(_groundPos isEqualTo [0, 0, 0]) then {
|
||||
if (_groundPos isNotEqualTo [0, 0, 0]) then {
|
||||
private _lastLogicPos = getPosASLVisual _logic;
|
||||
_directionToLast = _cameraPosASL vectorFromTo _groundPos;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user