mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed setPos to setPosASL for reliability, Fixed module icon name
This commit is contained in:
parent
f1f9ee1365
commit
3a4cd99001
Binary file not shown.
@ -34,7 +34,7 @@ _sitPosition = getArray (configFile >> "CfgVehicles" >> typeOf _seat >> QGVAR(si
|
||||
|
||||
// Set direction and position
|
||||
_player setDir ((getDir _seat) + _sitDirection);
|
||||
_player setPos (_seat modelToWorld _sitPosition);
|
||||
_player setPosASL (_seat modelToWorld _sitPosition) call EFUNC(common,positionToASL);
|
||||
|
||||
// Set variables
|
||||
_player setVariable [QGVAR(isSitting), true];
|
||||
|
Loading…
Reference in New Issue
Block a user